Index: src/arm64/full-codegen-arm64.cc |
diff --git a/src/arm64/full-codegen-arm64.cc b/src/arm64/full-codegen-arm64.cc |
index 4611363551bdc504d960ac3aa521689f73fed526..c487c518afc39c7d01c09f5b9d1fc422f58fe6de 100644 |
--- a/src/arm64/full-codegen-arm64.cc |
+++ b/src/arm64/full-codegen-arm64.cc |
@@ -2819,7 +2819,7 @@ void FullCodeGenerator::EmitIsMinusZero(CallRuntime* expr) { |
&if_true, &if_false, &fall_through); |
// Only a HeapNumber can be -0.0, so return false if we have something else. |
- __ CheckMap(x0, x1, Heap::kHeapNumberMapRootIndex, if_false, DO_SMI_CHECK); |
+ __ JumpIfNotHeapNumber(x0, if_false, DO_SMI_CHECK); |
// Test the bit pattern. |
__ Ldr(x10, FieldMemOperand(x0, HeapNumber::kValueOffset)); |