| Index: src/scopes.h
|
| diff --git a/src/scopes.h b/src/scopes.h
|
| index e76fb50598c3a6267576a30a8970a626938e970c..d4eb17cd5688888cea14ae9cee832d851f25f59b 100644
|
| --- a/src/scopes.h
|
| +++ b/src/scopes.h
|
| @@ -357,11 +357,17 @@ class Scope: public ZoneObject {
|
| // Illegal redeclaration.
|
| Expression* illegal_redecl_;
|
|
|
| - // Scope-specific information.
|
| - bool scope_inside_with_; // this scope is inside a 'with' of some outer scope
|
| - bool scope_contains_with_; // this scope contains a 'with' statement
|
| - bool scope_calls_eval_; // this scope contains an 'eval' call
|
| - bool strict_mode_; // this scope is a strict mode scope
|
| + // Scope-specific information computed during parsing.
|
| + //
|
| + // This scope is inside a 'with' of some outer scope.
|
| + bool scope_inside_with_;
|
| + // This scope contains a 'with' statement.
|
| + bool scope_contains_with_;
|
| + // This scope or a nested catch scope or with scope contain an 'eval' call. At
|
| + // the 'eval' call site this scope is the declaration scope.
|
| + bool scope_calls_eval_;
|
| + // This scope is a strict mode scope.
|
| + bool strict_mode_;
|
|
|
| // Computed via PropagateScopeInfo.
|
| bool outer_scope_calls_eval_;
|
|
|