| Index: src/scopes.cc
|
| diff --git a/src/scopes.cc b/src/scopes.cc
|
| index 39b67a886444fe1db46a54e4006d37abd68d447a..d4006f33437999d5befe34d51d1e146442ae357c 100644
|
| --- a/src/scopes.cc
|
| +++ b/src/scopes.cc
|
| @@ -1241,7 +1241,7 @@ bool Scope::MustAllocateInContext(Variable* var) {
|
| if (has_forced_context_allocation()) return true;
|
| if (var->mode() == TEMPORARY) return false;
|
| if (var->mode() == INTERNAL) return true;
|
| - if (is_catch_scope() || is_block_scope() || is_module_scope()) return true;
|
| + if (is_catch_scope() || is_module_scope()) return true;
|
| if (is_script_scope() && IsLexicalVariableMode(var->mode())) return true;
|
| return var->has_forced_context_allocation() ||
|
| scope_calls_eval_ ||
|
|
|