Bug 1077031: Move dependent condition out of an if statement to work around a clang codegen bug; r=luke