mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-24 18:55:30 +00:00
Bug 875917 - Add braces to an if which has braces on its else. r=sstangl
This commit is contained in:
parent
3cd31353c3
commit
96ffa33fa3
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user