| Index: src/ast/variables.h | 
| diff --git a/src/ast/variables.h b/src/ast/variables.h | 
| index bbd72f61d5f713235af3a4889aece7faab7d267c..bb757925e3fd81c109ac99af3c9c5ba327a356f5 100644 | 
| --- a/src/ast/variables.h | 
| +++ b/src/ast/variables.h | 
| @@ -49,6 +49,7 @@ class Variable final : public ZoneObject { | 
| return ForceContextAllocationField::decode(bit_field_); | 
| } | 
| void ForceContextAllocation() { | 
| +    DCHECK(IsUnallocated() || IsContextSlot()); | 
| bit_field_ = ForceContextAllocationField::update(bit_field_, true); | 
| } | 
| bool is_used() { return IsUsedField::decode(bit_field_); } | 
|  |