| 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 6a2f1480bc279cde615e448c490ae921c940f309..6e91b5e18f0fd10fe8bcc148f8b61de71b141faf 100644
|
| --- a/src/full-codegen/ppc/full-codegen-ppc.cc
|
| +++ b/src/full-codegen/ppc/full-codegen-ppc.cc
|
| @@ -1207,11 +1207,9 @@ void FullCodeGenerator::EmitNewClosure(Handle<SharedFunctionInfo> info,
|
| __ mov(r5, Operand(info));
|
| __ CallStub(&stub);
|
| } else {
|
| - __ mov(r3, Operand(info));
|
| - __ LoadRoot(
|
| - r4, pretenure ? Heap::kTrueValueRootIndex : Heap::kFalseValueRootIndex);
|
| - __ Push(cp, r3, r4);
|
| - __ CallRuntime(Runtime::kNewClosure, 3);
|
| + __ Push(info);
|
| + __ CallRuntime(
|
| + pretenure ? Runtime::kNewClosure_Tenured : Runtime::kNewClosure, 1);
|
| }
|
| context()->Plug(r3);
|
| }
|
|
|