Index: src/mips/code-stubs-mips.cc |
diff --git a/src/mips/code-stubs-mips.cc b/src/mips/code-stubs-mips.cc |
index bd37a7a1d000187c5a1ac26fcd8769c23a47588b..7a46a30682081cc3239cfacea06049a53c59689b 100644 |
--- a/src/mips/code-stubs-mips.cc |
+++ b/src/mips/code-stubs-mips.cc |
@@ -2529,39 +2529,6 @@ void ToStringStub::Generate(MacroAssembler* masm) { |
} |
-void ToNameStub::Generate(MacroAssembler* masm) { |
- // The ToName stub takes on argument in a0. |
- Label is_number; |
- __ JumpIfSmi(a0, &is_number); |
- |
- Label not_name; |
- STATIC_ASSERT(FIRST_NAME_TYPE == FIRST_TYPE); |
- __ GetObjectType(a0, a1, a1); |
- // a0: receiver |
- // a1: receiver instance type |
- __ Branch(¬_name, gt, a1, Operand(LAST_NAME_TYPE)); |
- __ Ret(USE_DELAY_SLOT); |
- __ mov(v0, a0); |
- __ bind(¬_name); |
- |
- Label not_heap_number; |
- __ Branch(¬_heap_number, ne, a1, Operand(HEAP_NUMBER_TYPE)); |
- __ bind(&is_number); |
- NumberToStringStub stub(isolate()); |
- __ TailCallStub(&stub); |
- __ bind(¬_heap_number); |
- |
- Label not_oddball; |
- __ Branch(¬_oddball, ne, a1, Operand(ODDBALL_TYPE)); |
- __ Ret(USE_DELAY_SLOT); |
- __ lw(v0, FieldMemOperand(a0, Oddball::kToStringOffset)); |
- __ bind(¬_oddball); |
- |
- __ push(a0); // Push argument. |
- __ TailCallRuntime(Runtime::kToName); |
-} |
- |
- |
void StringHelper::GenerateFlatOneByteStringEquals( |
MacroAssembler* masm, Register left, Register right, Register scratch1, |
Register scratch2, Register scratch3) { |