Index: src/x64/lithium-codegen-x64.cc |
diff --git a/src/x64/lithium-codegen-x64.cc b/src/x64/lithium-codegen-x64.cc |
index 5e2367f986567bcc8ea4c580d2e14f7fc720bf9e..986cf833a4e3416ca0c15d018da12101be9166d5 100644 |
--- a/src/x64/lithium-codegen-x64.cc |
+++ b/src/x64/lithium-codegen-x64.cc |
@@ -2263,7 +2263,7 @@ void LCodeGen::DoCompareMinusZeroAndBranch(LCompareMinusZeroAndBranch* instr) { |
} else { |
Register value = ToRegister(instr->value()); |
Handle<Map> map = masm()->isolate()->factory()->heap_number_map(); |
- __ CheckMap(rax, map, &if_false, DO_SMI_CHECK); |
+ __ CheckMap(value, map, &if_false, DO_SMI_CHECK); |
__ cmpl(FieldOperand(value, HeapNumber::kExponentOffset), |
Immediate(0x80000000)); |
__ j(not_equal, &if_false); |