Index: src/builtins/arm/builtins-arm.cc |
diff --git a/src/builtins/arm/builtins-arm.cc b/src/builtins/arm/builtins-arm.cc |
index d3ed62ac1b53adec3a99046e61b1f10720db0b52..49d2e9120b17151b8cf6e17c88c17859fd9798f0 100644 |
--- a/src/builtins/arm/builtins-arm.cc |
+++ b/src/builtins/arm/builtins-arm.cc |
@@ -2836,21 +2836,6 @@ void Builtins::Generate_Abort(MacroAssembler* masm) { |
__ TailCallRuntime(Runtime::kAbort); |
} |
-void Builtins::Generate_ToNumber(MacroAssembler* masm) { |
- // The ToNumber stub takes one argument in r0. |
- STATIC_ASSERT(kSmiTag == 0); |
- __ tst(r0, Operand(kSmiTagMask)); |
- __ Ret(eq); |
- |
- __ CompareObjectType(r0, r1, r1, HEAP_NUMBER_TYPE); |
- // r0: receiver |
- // r1: receiver instance type |
- __ Ret(eq); |
- |
- __ Jump(masm->isolate()->builtins()->NonNumberToNumber(), |
- RelocInfo::CODE_TARGET); |
-} |
- |
void Builtins::Generate_ArgumentsAdaptorTrampoline(MacroAssembler* masm) { |
// ----------- S t a t e ------------- |
// -- r0 : actual number of arguments |