| Index: src/ast/scopes.h
|
| diff --git a/src/ast/scopes.h b/src/ast/scopes.h
|
| index d5291183dd7726e8ed3abeca2e7dff7952982761..d9027b45c5f2803aecd21b09862e2cb9e6151576 100644
|
| --- a/src/ast/scopes.h
|
| +++ b/src/ast/scopes.h
|
| @@ -113,6 +113,11 @@ class V8_EXPORT_PRIVATE Scope : public NON_EXPORTED_BASE(ZoneObject) {
|
| // tree and its children are reparented.
|
| Scope* FinalizeBlockScope();
|
|
|
| + bool HasBeenRemoved() const;
|
| +
|
| + // Find the first scope that hasn't been removed.
|
| + Scope* GetUnremovedScope();
|
| +
|
| // Inserts outer_scope into this scope's scope chain (and removes this
|
| // from the current outer_scope_'s inner scope list).
|
| // Assumes outer_scope_ is non-null.
|
|
|