| 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 311f293c17525b860a508aad51bf792f67867101..468cce1d2c94397b767756c9eed8279d9a5e5c00 100644
|
| --- a/src/full-codegen/mips64/full-codegen-mips64.cc
|
| +++ b/src/full-codegen/mips64/full-codegen-mips64.cc
|
| @@ -1239,11 +1239,9 @@ void FullCodeGenerator::EmitNewClosure(Handle<SharedFunctionInfo> info,
|
| __ li(a2, Operand(info));
|
| __ CallStub(&stub);
|
| } else {
|
| - __ li(a0, Operand(info));
|
| - __ LoadRoot(a1, pretenure ? Heap::kTrueValueRootIndex
|
| - : Heap::kFalseValueRootIndex);
|
| - __ Push(cp, a0, a1);
|
| - __ CallRuntime(Runtime::kNewClosure, 3);
|
| + __ Push(info);
|
| + __ CallRuntime(
|
| + pretenure ? Runtime::kNewClosure_Tenured : Runtime::kNewClosure, 1);
|
| }
|
| context()->Plug(v0);
|
| }
|
|
|