| Index: src/crankshaft/arm64/lithium-codegen-arm64.cc
|
| diff --git a/src/crankshaft/arm64/lithium-codegen-arm64.cc b/src/crankshaft/arm64/lithium-codegen-arm64.cc
|
| index 4cc34aaa48dcadd97757dd1a8d60e9fc0d16ad28..4832f3883f0af53fc3ca8f7f45a07a3fd75461b1 100644
|
| --- a/src/crankshaft/arm64/lithium-codegen-arm64.cc
|
| +++ b/src/crankshaft/arm64/lithium-codegen-arm64.cc
|
| @@ -595,7 +595,8 @@ void LCodeGen::DoPrologue(LPrologue* instr) {
|
| __ CallRuntime(Runtime::kNewScriptContext);
|
| deopt_mode = Safepoint::kLazyDeopt;
|
| } else if (slots <= FastNewFunctionContextStub::kMaximumSlots) {
|
| - FastNewFunctionContextStub stub(isolate(), slots);
|
| + FastNewFunctionContextStub stub(isolate());
|
| + __ Mov(FastNewFunctionContextDescriptor::SlotsRegister(), slots);
|
| __ CallStub(&stub);
|
| // Result of FastNewFunctionContextStub is always in new space.
|
| need_write_barrier = false;
|
|
|