Chromium Code Reviews| Index: src/ast/scopes.h | 
| diff --git a/src/ast/scopes.h b/src/ast/scopes.h | 
| index dd65d48c4a14c4e234e958c8ddc8c1a78648fdf0..97849b7ea011cb62fc48cf410d85acf753f2b2b2 100644 | 
| --- a/src/ast/scopes.h | 
| +++ b/src/ast/scopes.h | 
| @@ -427,6 +427,12 @@ class Scope: public ZoneObject { | 
| int num_var() const { return variables_.occupancy(); } | 
| + // GetScopeInfo() must have been called once to create the ScopeInfo. | 
| + Handle<ScopeInfo> scope_info() { | 
| 
 
Michael Starzinger
2016/08/16 09:10:21
nit: Can we move this to below the declration of "
 
rmcilroy
2016/08/16 11:24:54
Done.
 
 | 
| + DCHECK(!scope_info_.is_null()); | 
| + return scope_info_; | 
| + } | 
| + | 
| // --------------------------------------------------------------------------- | 
| // Debugging. |