Index: src/builtins/mips64/builtins-mips64.cc |
diff --git a/src/builtins/mips64/builtins-mips64.cc b/src/builtins/mips64/builtins-mips64.cc |
index 818ae2b054a2ca21e7726e212ce45f7ca845d49a..4284ebe498053c8e5a5934d11f55a28cb6261971 100644 |
--- a/src/builtins/mips64/builtins-mips64.cc |
+++ b/src/builtins/mips64/builtins-mips64.cc |
@@ -2894,28 +2894,6 @@ void Builtins::Generate_Abort(MacroAssembler* masm) { |
__ TailCallRuntime(Runtime::kAbort); |
} |
-// static |
-void Builtins::Generate_ToNumber(MacroAssembler* masm) { |
- // The ToNumber stub takes one argument in a0. |
- Label not_smi; |
- __ JumpIfNotSmi(a0, ¬_smi); |
- __ Ret(USE_DELAY_SLOT); |
- __ mov(v0, a0); |
- __ bind(¬_smi); |
- |
- Label not_heap_number; |
- __ GetObjectType(a0, a1, a1); |
- // a0: receiver |
- // a1: receiver instance type |
- __ Branch(¬_heap_number, ne, a1, Operand(HEAP_NUMBER_TYPE)); |
- __ Ret(USE_DELAY_SLOT); |
- __ mov(v0, a0); |
- __ bind(¬_heap_number); |
- |
- __ Jump(masm->isolate()->builtins()->NonNumberToNumber(), |
- RelocInfo::CODE_TARGET); |
-} |
- |
void Builtins::Generate_ArgumentsAdaptorTrampoline(MacroAssembler* masm) { |
// State setup as expected by MacroAssembler::InvokePrologue. |
// ----------- S t a t e ------------- |