Bug 875917 - Add braces to an if which has braces on its else. r=sstangl

This commit is contained in:
Dan Gohman 2013-06-13 10:23:21 -07:00
parent 3cd31353c3
commit 96ffa33fa3

View File

@ -503,9 +503,9 @@ CodeGeneratorX86::visitAsmJSLoadHeap(LAsmJSLoadHeap *ins)
bool
CodeGeneratorX86::visitOutOfLineLoadTypedArrayOutOfBounds(OutOfLineLoadTypedArrayOutOfBounds *ool)
{
if (ool->dest().isFloat())
if (ool->dest().isFloat()) {
masm.movsd(&js_NaN, ool->dest().fpu());
else {
} else {
Register destReg = ool->dest().gpr();
masm.xorl(destReg, destReg);
}