Index: src/ia32/lithium-codegen-ia32.cc |
diff --git a/src/ia32/lithium-codegen-ia32.cc b/src/ia32/lithium-codegen-ia32.cc |
index 14a40baa19e08fee26c268c1018438266da70474..bc46113cc82037bab44f3579d41fff24ecfc6544 100644 |
--- a/src/ia32/lithium-codegen-ia32.cc |
+++ b/src/ia32/lithium-codegen-ia32.cc |
@@ -2689,7 +2689,7 @@ void LCodeGen::DoCompareMinusZeroAndBranch(LCompareMinusZeroAndBranch* instr) { |
} else { |
Register value = ToRegister(instr->value()); |
Handle<Map> map = masm()->isolate()->factory()->heap_number_map(); |
- __ CheckMap(eax, map, &if_false, DO_SMI_CHECK); |
+ __ CheckMap(value, map, &if_false, DO_SMI_CHECK); |
__ cmp(FieldOperand(value, HeapNumber::kExponentOffset), |
Immediate(0x80000000)); |
__ j(not_equal, &if_false); |