| Index: src/ast/scopes.h
 | 
| diff --git a/src/ast/scopes.h b/src/ast/scopes.h
 | 
| index d767a33de05a285ab9b97112ca1f7ff4acabb7d8..a41f3e85dbae7ea7db57e1ac54ab7ba7bf371d20 100644
 | 
| --- a/src/ast/scopes.h
 | 
| +++ b/src/ast/scopes.h
 | 
| @@ -343,6 +343,9 @@ class Scope: public ZoneObject {
 | 
|    // Is this scope inside a with statement.
 | 
|    bool inside_with() const { return scope_inside_with_; }
 | 
|  
 | 
| +  // Is this scope inside ECMAScript module code.
 | 
| +  bool inside_module() const { return scope_inside_module_; }
 | 
| +
 | 
|    // Does this scope access "arguments".
 | 
|    bool uses_arguments() const { return scope_uses_arguments_; }
 | 
|    // Does this scope access "super" property (super.foo).
 | 
| @@ -639,6 +642,8 @@ class Scope: public ZoneObject {
 | 
|    //
 | 
|    // This scope is inside a 'with' of some outer scope.
 | 
|    bool scope_inside_with_;
 | 
| +  // This scope is inside ECMAScript module code
 | 
| +  bool scope_inside_module_;
 | 
|    // 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_;
 | 
| 
 |