| 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 eefa9e08336ea8392f88103a9177fae55f22f5fc..037a47c57e38da712801e4a1d4a7f3aeb2fd0173 100644
|
| --- a/src/crankshaft/arm64/lithium-codegen-arm64.cc
|
| +++ b/src/crankshaft/arm64/lithium-codegen-arm64.cc
|
| @@ -599,7 +599,7 @@ void LCodeGen::DoPrologue(LPrologue* instr) {
|
| Comment(";;; Prologue begin");
|
|
|
| // Allocate a local context if needed.
|
| - if (info()->num_heap_slots() > 0) {
|
| + if (info()->scope()->num_heap_slots() > 0) {
|
| Comment(";;; Allocate local context");
|
| bool need_write_barrier = true;
|
| // Argument to NewContext is the function, which is in x1.
|
|
|