| Index: src/scopes.h
|
| diff --git a/src/scopes.h b/src/scopes.h
|
| index a7623a39a734db650699b5e1560f51e43a227cb7..a493d57520a7d44998efa6d27a06c3b783a041a6 100644
|
| --- a/src/scopes.h
|
| +++ b/src/scopes.h
|
| @@ -290,6 +290,10 @@ class Scope: public ZoneObject {
|
| // The number of contexts between this and scope; zero if this == scope.
|
| int ContextChainLength(Scope* scope);
|
|
|
| + // Find the first function, global, or eval scope. This is the scope
|
| + // where var declarations will be hoisted to in the implementation.
|
| + Scope* DeclarationScope();
|
| +
|
| // ---------------------------------------------------------------------------
|
| // Strict mode support.
|
| bool IsDeclared(Handle<String> name) {
|
|
|