diff options
author | Ryan Dahl <ry@tinyclouds.org> | 2011-08-04 12:18:09 -0700 |
---|---|---|
committer | Ryan Dahl <ry@tinyclouds.org> | 2011-08-04 12:18:09 -0700 |
commit | eeece4f5eab2d192635e19c64ae2d429f96c2284 (patch) | |
tree | 8ee91025e2e43769f1bfc01a101f95ba372830dd /deps/v8/src/scopes.h | |
parent | b8c8e9c113e4611560948420e1ad67f1ee13d975 (diff) | |
download | node-eeece4f5eab2d192635e19c64ae2d429f96c2284.tar.gz |
Upgrade V8 to 3.5.3
Diffstat (limited to 'deps/v8/src/scopes.h')
-rw-r--r-- | deps/v8/src/scopes.h | 16 |
1 files changed, 11 insertions, 5 deletions
diff --git a/deps/v8/src/scopes.h b/deps/v8/src/scopes.h index e76fb5059..d4eb17cd5 100644 --- a/deps/v8/src/scopes.h +++ b/deps/v8/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_; |