Index: src/ppc/code-stubs-ppc.cc |
diff --git a/src/ppc/code-stubs-ppc.cc b/src/ppc/code-stubs-ppc.cc |
index f02f7303eb94dddb5f91de7408a0cfbb42226242..1f381534b7d541bc05f76624666dfdc7017cf0b2 100644 |
--- a/src/ppc/code-stubs-ppc.cc |
+++ b/src/ppc/code-stubs-ppc.cc |
@@ -2464,37 +2464,6 @@ void ToStringStub::Generate(MacroAssembler* masm) { |
} |
-void ToNameStub::Generate(MacroAssembler* masm) { |
- // The ToName stub takes one argument in r3. |
- Label is_number; |
- __ JumpIfSmi(r3, &is_number); |
- |
- STATIC_ASSERT(FIRST_NAME_TYPE == FIRST_TYPE); |
- __ CompareObjectType(r3, r4, r4, LAST_NAME_TYPE); |
- // r3: receiver |
- // r4: receiver instance type |
- __ Ret(le); |
- |
- Label not_heap_number; |
- __ cmpi(r4, Operand(HEAP_NUMBER_TYPE)); |
- __ bne(¬_heap_number); |
- __ bind(&is_number); |
- NumberToStringStub stub(isolate()); |
- __ TailCallStub(&stub); |
- __ bind(¬_heap_number); |
- |
- Label not_oddball; |
- __ cmpi(r4, Operand(ODDBALL_TYPE)); |
- __ bne(¬_oddball); |
- __ LoadP(r3, FieldMemOperand(r3, Oddball::kToStringOffset)); |
- __ Ret(); |
- __ bind(¬_oddball); |
- |
- __ push(r3); // Push argument. |
- __ TailCallRuntime(Runtime::kToName); |
-} |
- |
- |
void StringHelper::GenerateFlatOneByteStringEquals(MacroAssembler* masm, |
Register left, |
Register right, |