| Index: src/full-codegen/arm64/full-codegen-arm64.cc
|
| diff --git a/src/full-codegen/arm64/full-codegen-arm64.cc b/src/full-codegen/arm64/full-codegen-arm64.cc
|
| index ad63bf6d81cb652faf6dc47ff6331e44eb08854e..ebe2dcd56571c830b5bce51f3aa8bc66d3121744 100644
|
| --- a/src/full-codegen/arm64/full-codegen-arm64.cc
|
| +++ b/src/full-codegen/arm64/full-codegen-arm64.cc
|
| @@ -188,7 +188,8 @@ void FullCodeGenerator::Generate() {
|
| __ Push(x3); // Preserve new target.
|
| }
|
| 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;
|
|
|