Index: src/arm/code-stubs-arm.cc |
diff --git a/src/arm/code-stubs-arm.cc b/src/arm/code-stubs-arm.cc |
index 62fcc9a981ccd5946ed7946d006d7e6d5224d4d1..b605cccbe6c47576b19c1cf46d38d3499a4e6731 100644 |
--- a/src/arm/code-stubs-arm.cc |
+++ b/src/arm/code-stubs-arm.cc |
@@ -1741,7 +1741,7 @@ static void ICCompareStub_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); |
__ CheckMap(input, scratch, Heap::kHeapNumberMapRootIndex, fail, |
DONT_DO_SMI_CHECK); |
@@ -6971,8 +6971,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; |