| 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 98af9f41ecc921e6892b64f9e071e3fa7aa4c204..4f9ce1ddd87f71687f4abac565a1f5782bf27d6b 100644
|
| --- a/src/full-codegen/arm64/full-codegen-arm64.cc
|
| +++ b/src/full-codegen/arm64/full-codegen-arm64.cc
|
| @@ -771,7 +771,7 @@ void FullCodeGenerator::EmitDebugCheckDeclarationContext(Variable* variable) {
|
| // The variable in the declaration always resides in the current function
|
| // context.
|
| DCHECK_EQ(0, scope()->ContextChainLength(variable->scope()));
|
| - if (generate_debug_code_) {
|
| + if (FLAG_debug_code) {
|
| // Check that we're not inside a with or catch context.
|
| __ Ldr(x1, FieldMemOperand(cp, HeapObject::kMapOffset));
|
| __ CompareRoot(x1, Heap::kWithContextMapRootIndex);
|
|
|