Commit 369a6ac0 authored by Benedikt Meurer's avatar Benedikt Meurer

[x64] Fix typo in MacroAssembler::AssertNotNumber.

TBR=machenbach@chromium.org

Review URL: https://codereview.chromium.org/1819823002 .

Cr-Commit-Position: refs/heads/master@{#34926}
parent 22523f25
...@@ -3881,7 +3881,7 @@ void MacroAssembler::AssertNotNumber(Register object) { ...@@ -3881,7 +3881,7 @@ void MacroAssembler::AssertNotNumber(Register object) {
Check(NegateCondition(is_smi), kOperandIsANumber); Check(NegateCondition(is_smi), kOperandIsANumber);
Cmp(FieldOperand(object, HeapObject::kMapOffset), Cmp(FieldOperand(object, HeapObject::kMapOffset),
isolate()->factory()->heap_number_map()); isolate()->factory()->heap_number_map());
Check(equal, kOperandIsANumber); Check(not_equal, kOperandIsANumber);
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment