| Index: src/ppc/full-codegen-ppc.cc
|
| diff --git a/src/ppc/full-codegen-ppc.cc b/src/ppc/full-codegen-ppc.cc
|
| index 9aa58a0bfe99d863158051d22af0b61487a7549a..5d9ce6e7df63f322c12042e27e20425bfbec07df 100644
|
| --- a/src/ppc/full-codegen-ppc.cc
|
| +++ b/src/ppc/full-codegen-ppc.cc
|
| @@ -4745,44 +4745,6 @@ void FullCodeGenerator::EmitDebugIsActive(CallRuntime* expr) {
|
| }
|
|
|
|
|
| -void FullCodeGenerator::EmitCallSuperWithSpread(CallRuntime* expr) {
|
| - // Assert: expr === CallRuntime("ReflectConstruct")
|
| - DCHECK_EQ(1, expr->arguments()->length());
|
| - CallRuntime* call = expr->arguments()->at(0)->AsCallRuntime();
|
| -
|
| - ZoneList<Expression*>* args = call->arguments();
|
| - DCHECK_EQ(3, args->length());
|
| -
|
| - SuperCallReference* super_call_ref = args->at(0)->AsSuperCallReference();
|
| - DCHECK_NOT_NULL(super_call_ref);
|
| -
|
| - // Load ReflectConstruct function
|
| - EmitLoadJSRuntimeFunction(call);
|
| -
|
| - // Push the target function under the receiver.
|
| - __ LoadP(r0, MemOperand(sp, 0));
|
| - __ push(r0);
|
| - __ StoreP(r3, MemOperand(sp, kPointerSize));
|
| -
|
| - // Push super constructor
|
| - EmitLoadSuperConstructor(super_call_ref);
|
| - __ Push(result_register());
|
| -
|
| - // Push arguments array
|
| - VisitForStackValue(args->at(1));
|
| -
|
| - // Push NewTarget
|
| - DCHECK(args->at(2)->IsVariableProxy());
|
| - VisitForStackValue(args->at(2));
|
| -
|
| - EmitCallJSRuntimeFunction(call);
|
| -
|
| - // Restore context register.
|
| - __ LoadP(cp, MemOperand(fp, StandardFrameConstants::kContextOffset));
|
| - context()->DropAndPlug(1, r3);
|
| -}
|
| -
|
| -
|
| void FullCodeGenerator::EmitLoadJSRuntimeFunction(CallRuntime* expr) {
|
| // Push the builtins object as the receiver.
|
| Register receiver = LoadDescriptor::ReceiverRegister();
|
|
|