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..377bd95d46e2d54cf6dbc57c14a4ea484b88e822 100644 |
--- a/src/x64/code-stubs-x64.cc |
+++ b/src/x64/code-stubs-x64.cc |
@@ -807,8 +807,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); |
@@ -889,13 +889,13 @@ void UnaryOpStub::GenerateSmiCodeBitNot(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(); |
@@ -903,7 +903,7 @@ void UnaryOpStub::GenerateHeapNumberStub(MacroAssembler* masm) { |
} |
-void UnaryOpStub::GenerateHeapNumberStubSub(MacroAssembler* masm) { |
+void UnaryOpStub::GenerateNumberStubSub(MacroAssembler* masm) { |
Label non_smi, slow, call_builtin; |
GenerateSmiCodeSub(masm, &non_smi, &call_builtin, Label::kNear); |
__ bind(&non_smi); |
@@ -915,7 +915,7 @@ void UnaryOpStub::GenerateHeapNumberStubSub(MacroAssembler* masm) { |
} |
-void UnaryOpStub::GenerateHeapNumberStubBitNot( |
+void UnaryOpStub::GenerateNumberStubBitNot( |
MacroAssembler* masm) { |
Label non_smi, slow; |
GenerateSmiCodeBitNot(masm, &non_smi, Label::kNear); |
@@ -1467,7 +1467,7 @@ void BinaryOpStub::GenerateOddballStub(MacroAssembler* masm) { |
} |
__ bind(&done); |
- GenerateHeapNumberStub(masm); |
+ GenerateNumberStub(masm); |
} |
@@ -1495,7 +1495,7 @@ static void BinaryOpStub_CheckSmiInput(MacroAssembler* masm, |
} |
-void BinaryOpStub::GenerateHeapNumberStub(MacroAssembler* masm) { |
+void BinaryOpStub::GenerateNumberStub(MacroAssembler* masm) { |
Label gc_required, not_number; |
// It could be that only SMIs have been seen at either the left |
@@ -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; |