| Index: src/scopes.h
|
| diff --git a/src/scopes.h b/src/scopes.h
|
| index 4af19d3938194fd492d0e2f73ff021816e52df52..d9c3a612eb96e55f3453de028ea929b8507c328a 100644
|
| --- a/src/scopes.h
|
| +++ b/src/scopes.h
|
| @@ -112,6 +112,11 @@ class Scope: public ZoneObject {
|
|
|
| void Initialize(bool inside_with);
|
|
|
| + // Checks if the block scope is redundant, i.e. it does not contain any
|
| + // block scoped declarations. In that case it is removed from the scope
|
| + // tree and its children are reparented.
|
| + Scope* FinalizeBlockScope();
|
| +
|
| // ---------------------------------------------------------------------------
|
| // Declarations
|
|
|
|
|