Index: src/x64/code-stubs-x64.cc |
diff --git a/src/x64/code-stubs-x64.cc b/src/x64/code-stubs-x64.cc |
index 095113c40da56f397fbecbdc8f8b6d261ee38295..84edc52ae9062890233a5c97ac2cc1f839a58016 100644 |
--- a/src/x64/code-stubs-x64.cc |
+++ b/src/x64/code-stubs-x64.cc |
@@ -3571,7 +3571,7 @@ static void CheckInputType(MacroAssembler* masm, |
Label ok; |
if (expected == CompareIC::SMI) { |
__ JumpIfNotSmi(input, fail); |
- } else if (expected == CompareIC::HEAP_NUMBER) { |
+ } else if (expected == CompareIC::NUMBER) { |
__ JumpIfSmi(input, &ok); |
__ CompareMap(input, masm->isolate()->factory()->heap_number_map(), NULL); |
__ j(not_equal, fail); |
@@ -5774,8 +5774,8 @@ void ICCompareStub::GenerateSmis(MacroAssembler* masm) { |
} |
-void ICCompareStub::GenerateHeapNumbers(MacroAssembler* masm) { |
- ASSERT(state_ == CompareIC::HEAP_NUMBER); |
+void ICCompareStub::GenerateNumbers(MacroAssembler* masm) { |
+ ASSERT(state_ == CompareIC::NUMBER); |
Label generic_stub; |
Label unordered, maybe_undefined1, maybe_undefined2; |