MIPS: Fix r19175 "Avoid embedding x86 NaN constant in MacroAssembler code when snapshot is created."
BUG= R=plind44@gmail.com Review URL: https://codereview.chromium.org/148523015 Patch from Balazs Kilvady <kilvadyb@homejinni.com>. git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@19232 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
This commit is contained in:
parent
71a6d70d97
commit
44d61f3caf
@ -3440,8 +3440,8 @@ void MacroAssembler::StoreNumberToDoubleElements(Register value_reg,
|
||||
bind(&is_nan);
|
||||
// Load canonical NaN for storing into the double array.
|
||||
LoadRoot(at, Heap::kNanValueRootIndex);
|
||||
lw(mantissa_reg, FieldMemOperand(at, HeapNumber::kValueOffset));
|
||||
lw(exponent_reg, FieldMemOperand(at, HeapNumber::kValueOffset + 4));
|
||||
lw(mantissa_reg, FieldMemOperand(at, HeapNumber::kMantissaOffset));
|
||||
lw(exponent_reg, FieldMemOperand(at, HeapNumber::kExponentOffset));
|
||||
jmp(&have_double_value);
|
||||
|
||||
bind(&smi_value);
|
||||
|
Loading…
Reference in New Issue
Block a user