| 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 cb3d994f011a2447ffb51a44760cdc23737a3b83..18503efbe8ef78983fae21723b1774a2745da4b9 100644
|
| --- a/src/full-codegen/x64/full-codegen-x64.cc
|
| +++ b/src/full-codegen/x64/full-codegen-x64.cc
|
| @@ -190,8 +190,7 @@ void FullCodeGenerator::Generate() {
|
| if (info->scope()->new_target_var() != nullptr) {
|
| __ Push(rdx); // Preserve new target.
|
| }
|
| - if (slots <=
|
| - ConstructorBuiltinsAssembler::MaximumFunctionContextSlots()) {
|
| + if (slots <= ConstructorBuiltins::MaximumFunctionContextSlots()) {
|
| Callable callable = CodeFactory::FastNewFunctionContext(
|
| isolate(), info->scope()->scope_type());
|
| __ Set(FastNewFunctionContextDescriptor::SlotsRegister(), slots);
|
|
|