| Index: src/full-codegen/mips64/full-codegen-mips64.cc
|
| diff --git a/src/full-codegen/mips64/full-codegen-mips64.cc b/src/full-codegen/mips64/full-codegen-mips64.cc
|
| index fb33e9ad3352061cda7a75af505d816813165e90..7d620ebffa5bfd4ee43a4dfd7d8097e111b3379b 100644
|
| --- a/src/full-codegen/mips64/full-codegen-mips64.cc
|
| +++ b/src/full-codegen/mips64/full-codegen-mips64.cc
|
| @@ -279,14 +279,16 @@ void FullCodeGenerator::Generate() {
|
| __ ld(a1, 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(a1);
|
| __ CallRuntime(Runtime::kNewSloppyArguments_Generic);
|
| } else {
|
| - FastNewSloppyArgumentsStub stub(isolate());
|
| - __ CallStub(&stub);
|
| + Callable callable = CodeFactory::FastNewSloppyArguments(isolate());
|
| + __ Call(callable.code(), RelocInfo::CODE_TARGET);
|
| + RestoreContext();
|
| }
|
|
|
| SetVar(arguments, v0, a1, a2);
|
|
|