| Index: src/full-codegen/ppc/full-codegen-ppc.cc
|
| diff --git a/src/full-codegen/ppc/full-codegen-ppc.cc b/src/full-codegen/ppc/full-codegen-ppc.cc
|
| index eed597ccbd777ec5fc45ec231684366ceb5849a3..82d44865a05f39cdafc2f37642681e1cdea6a912 100644
|
| --- a/src/full-codegen/ppc/full-codegen-ppc.cc
|
| +++ b/src/full-codegen/ppc/full-codegen-ppc.cc
|
| @@ -3528,26 +3528,6 @@ void FullCodeGenerator::EmitToInteger(CallRuntime* expr) {
|
| }
|
|
|
|
|
| -void FullCodeGenerator::EmitToName(CallRuntime* expr) {
|
| - ZoneList<Expression*>* args = expr->arguments();
|
| - DCHECK_EQ(1, args->length());
|
| -
|
| - // Load the argument into r3 and convert it.
|
| - VisitForAccumulatorValue(args->at(0));
|
| -
|
| - Label convert, done_convert;
|
| - __ JumpIfSmi(r3, &convert);
|
| - STATIC_ASSERT(FIRST_NAME_TYPE == FIRST_TYPE);
|
| - __ CompareObjectType(r3, r4, r4, LAST_NAME_TYPE);
|
| - __ ble(&done_convert);
|
| - __ bind(&convert);
|
| - __ Push(r3);
|
| - __ CallRuntime(Runtime::kToName);
|
| - __ bind(&done_convert);
|
| - context()->Plug(r3);
|
| -}
|
| -
|
| -
|
| void FullCodeGenerator::EmitStringCharFromCode(CallRuntime* expr) {
|
| ZoneList<Expression*>* args = expr->arguments();
|
| DCHECK(args->length() == 1);
|
|
|