| 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 9ee2acac3b434d2dda3ab2fbdc05750224dae540..f1ea49224dcdbbb502113cd83b97d652def3d721 100644
|
| --- a/src/full-codegen/ppc/full-codegen-ppc.cc
|
| +++ b/src/full-codegen/ppc/full-codegen-ppc.cc
|
| @@ -278,14 +278,16 @@ void FullCodeGenerator::Generate() {
|
| __ LoadP(r4, MemOperand(fp, JavaScriptFrameConstants::kFunctionOffset));
|
| }
|
| if (is_strict(language_mode()) || !has_simple_parameters()) {
|
| - FastNewStrictArgumentsStub stub(isolate());
|
| - __ CallStub(&stub);
|
| + Callable callable = CodeFactory::FastNewStrictArguments(isolate());
|
| + __ Call(callable.code(), RelocInfo::CODE_TARGET);
|
| + RestoreContext();
|
| } else if (literal()->has_duplicate_parameters()) {
|
| __ Push(r4);
|
| __ CallRuntime(Runtime::kNewSloppyArguments_Generic);
|
| } else {
|
| - FastNewSloppyArgumentsStub stub(isolate());
|
| - __ CallStub(&stub);
|
| + Callable callable = CodeFactory::FastNewSloppyArguments(isolate());
|
| + __ Call(callable.code(), RelocInfo::CODE_TARGET);
|
| + RestoreContext();
|
| }
|
|
|
| SetVar(arguments, r3, r4, r5);
|
|
|