Index: src/builtins/ppc/builtins-ppc.cc |
diff --git a/src/builtins/ppc/builtins-ppc.cc b/src/builtins/ppc/builtins-ppc.cc |
index e420ce12c1926ed2fe14a527918765e2b190d054..7223e5e11069e31c48bfc4301d0b313f0e9cdc40 100644 |
--- a/src/builtins/ppc/builtins-ppc.cc |
+++ b/src/builtins/ppc/builtins-ppc.cc |
@@ -2915,22 +2915,6 @@ void Builtins::Generate_Abort(MacroAssembler* masm) { |
__ TailCallRuntime(Runtime::kAbort); |
} |
-// static |
-void Builtins::Generate_ToNumber(MacroAssembler* masm) { |
- // The ToNumber stub takes one argument in r3. |
- STATIC_ASSERT(kSmiTag == 0); |
- __ TestIfSmi(r3, r0); |
- __ Ret(eq, cr0); |
- |
- __ CompareObjectType(r3, r4, r4, HEAP_NUMBER_TYPE); |
- // r3: receiver |
- // r4: receiver instance type |
- __ Ret(eq); |
- |
- __ Jump(masm->isolate()->builtins()->NonNumberToNumber(), |
- RelocInfo::CODE_TARGET); |
-} |
- |
void Builtins::Generate_ArgumentsAdaptorTrampoline(MacroAssembler* masm) { |
// ----------- S t a t e ------------- |
// -- r3 : actual number of arguments |