| 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 999190e62df31c655eaae686b180323c34e8297f..d482f0d6279df3a3f56b6985462ad1b3389db67f 100644
|
| --- a/src/crankshaft/arm64/lithium-codegen-arm64.cc
|
| +++ b/src/crankshaft/arm64/lithium-codegen-arm64.cc
|
| @@ -621,8 +621,7 @@ void LCodeGen::DoPrologue(LPrologue* instr) {
|
| __ CallRuntime(Runtime::kNewScriptContext);
|
| deopt_mode = Safepoint::kLazyDeopt;
|
| } else {
|
| - if (slots <=
|
| - ConstructorBuiltinsAssembler::MaximumFunctionContextSlots()) {
|
| + if (slots <= ConstructorBuiltins::MaximumFunctionContextSlots()) {
|
| Callable callable = CodeFactory::FastNewFunctionContext(
|
| isolate(), info()->scope()->scope_type());
|
| __ Mov(FastNewFunctionContextDescriptor::SlotsRegister(), slots);
|
|
|