| Index: src/scopes.h
|
| diff --git a/src/scopes.h b/src/scopes.h
|
| index 186530ceab2ef134b2384ef32e5b9b588ecc182e..1508ce8ab1da81ba8a8f633a504d41d675b39bc0 100644
|
| --- a/src/scopes.h
|
| +++ b/src/scopes.h
|
| @@ -281,6 +281,7 @@ class Scope: public ZoneObject {
|
| bool is_block_scope() const { return scope_type_ == BLOCK_SCOPE; }
|
| bool is_with_scope() const { return scope_type_ == WITH_SCOPE; }
|
| bool is_arrow_scope() const { return scope_type_ == ARROW_SCOPE; }
|
| + bool is_class_scope() const { return scope_type_ == CLASS_SCOPE; }
|
| bool is_declaration_scope() const {
|
| return is_eval_scope() || is_function_scope() ||
|
| is_module_scope() || is_script_scope();
|
| @@ -658,6 +659,8 @@ class Scope: public ZoneObject {
|
| bool ResolveVariablesRecursively(CompilationInfo* info,
|
| AstNodeFactory* factory);
|
|
|
| + bool CheckStrongModeDeclaration(VariableProxy* proxy, Variable* var);
|
| +
|
| // Scope analysis.
|
| void PropagateScopeInfo(bool outer_scope_calls_sloppy_eval);
|
| bool HasTrivialContext() const;
|
|
|