| Index: src/full-codegen/x64/full-codegen-x64.cc
|
| diff --git a/src/full-codegen/x64/full-codegen-x64.cc b/src/full-codegen/x64/full-codegen-x64.cc
|
| index 9862b805e13bb48f299125dd12d9c223533204ff..61577292162ab46d7aeea20a857765a98ff8e2ae 100644
|
| --- a/src/full-codegen/x64/full-codegen-x64.cc
|
| +++ b/src/full-codegen/x64/full-codegen-x64.cc
|
| @@ -175,7 +175,8 @@ void FullCodeGenerator::Generate() {
|
| __ Push(rdx); // Preserve new target.
|
| }
|
| if (slots <= FastNewFunctionContextStub::kMaximumSlots) {
|
| - FastNewFunctionContextStub stub(isolate(), slots);
|
| + FastNewFunctionContextStub stub(isolate());
|
| + __ Set(FastNewFunctionContextDescriptor::SlotsRegister(), slots);
|
| __ CallStub(&stub);
|
| // Result of FastNewFunctionContextStub is always in new space.
|
| need_write_barrier = false;
|
|
|