Revision: 19232
Author: [email protected]
Date: Mon Feb 10 15:49:28 2014 UTC
Log: MIPS: Fix r19175 "Avoid embedding x86 NaN constant in
MacroAssembler code when snapshot is created."
BUG=
[email protected]
Review URL: https://codereview.chromium.org/148523015
Patch from Balazs Kilvady <[email protected]>.
http://code.google.com/p/v8/source/detail?r=19232
Modified:
/branches/bleeding_edge/src/mips/macro-assembler-mips.cc
=======================================
--- /branches/bleeding_edge/src/mips/macro-assembler-mips.cc Fri Feb 7
00:55:04 2014 UTC
+++ /branches/bleeding_edge/src/mips/macro-assembler-mips.cc Mon Feb 10
15:49:28 2014 UTC
@@ -3440,8 +3440,8 @@
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);
--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
---
You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.