Index: src/ia32/code-stubs-ia32.cc |
diff --git a/src/ia32/code-stubs-ia32.cc b/src/ia32/code-stubs-ia32.cc |
index 5affd6eaf0283d429557c5a1b2e665b0376ed4ec..fb698fa5f5733204678a93526ca697c5d0200e2a 100644 |
--- a/src/ia32/code-stubs-ia32.cc |
+++ b/src/ia32/code-stubs-ia32.cc |
@@ -950,8 +950,8 @@ void UnaryOpStub::Generate(MacroAssembler* masm) { |
case UnaryOpIC::SMI: |
GenerateSmiStub(masm); |
break; |
- case UnaryOpIC::HEAP_NUMBER: |
- GenerateHeapNumberStub(masm); |
+ case UnaryOpIC::NUMBER: |
+ GenerateNumberStub(masm); |
break; |
case UnaryOpIC::GENERIC: |
GenerateGenericStub(masm); |
@@ -1055,13 +1055,13 @@ void UnaryOpStub::GenerateSmiCodeUndo(MacroAssembler* masm) { |
// TODO(svenpanne): Use virtual functions instead of switch. |
-void UnaryOpStub::GenerateHeapNumberStub(MacroAssembler* masm) { |
+void UnaryOpStub::GenerateNumberStub(MacroAssembler* masm) { |
switch (op_) { |
case Token::SUB: |
- GenerateHeapNumberStubSub(masm); |
+ GenerateNumberStubSub(masm); |
break; |
case Token::BIT_NOT: |
- GenerateHeapNumberStubBitNot(masm); |
+ GenerateNumberStubBitNot(masm); |
break; |
default: |
UNREACHABLE(); |
@@ -1069,7 +1069,7 @@ void UnaryOpStub::GenerateHeapNumberStub(MacroAssembler* masm) { |
} |
-void UnaryOpStub::GenerateHeapNumberStubSub(MacroAssembler* masm) { |
+void UnaryOpStub::GenerateNumberStubSub(MacroAssembler* masm) { |
Label non_smi, undo, slow, call_builtin; |
GenerateSmiCodeSub(masm, &non_smi, &undo, &call_builtin, Label::kNear); |
__ bind(&non_smi); |
@@ -1083,7 +1083,7 @@ void UnaryOpStub::GenerateHeapNumberStubSub(MacroAssembler* masm) { |
} |
-void UnaryOpStub::GenerateHeapNumberStubBitNot( |
+void UnaryOpStub::GenerateNumberStubBitNot( |
MacroAssembler* masm) { |
Label non_smi, slow; |
GenerateSmiCodeBitNot(masm, &non_smi, Label::kNear); |
@@ -1978,11 +1978,11 @@ void BinaryOpStub::GenerateOddballStub(MacroAssembler* masm) { |
} |
__ bind(&done); |
- GenerateHeapNumberStub(masm); |
+ GenerateNumberStub(masm); |
} |
-void BinaryOpStub::GenerateHeapNumberStub(MacroAssembler* masm) { |
+void BinaryOpStub::GenerateNumberStub(MacroAssembler* masm) { |
Label call_runtime; |
// Floating point case. |
@@ -4443,7 +4443,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); |
__ cmp(FieldOperand(input, HeapObject::kMapOffset), |
Immediate(masm->isolate()->factory()->heap_number_map())); |
@@ -6756,8 +6756,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; |