Index: src/x64/macro-assembler-x64.cc |
diff --git a/src/x64/macro-assembler-x64.cc b/src/x64/macro-assembler-x64.cc |
index b06a9627c8f8b34577b76b218744052b32edd1a7..0c31809588befb995187f4fc66431a936e36dfa2 100644 |
--- a/src/x64/macro-assembler-x64.cc |
+++ b/src/x64/macro-assembler-x64.cc |
@@ -3881,7 +3881,7 @@ void MacroAssembler::AssertNotNumber(Register object) { |
Check(NegateCondition(is_smi), kOperandIsANumber); |
Cmp(FieldOperand(object, HeapObject::kMapOffset), |
isolate()->factory()->heap_number_map()); |
- Check(equal, kOperandIsANumber); |
+ Check(not_equal, kOperandIsANumber); |
} |
} |