| Index: src/scopes.h
|
| diff --git a/src/scopes.h b/src/scopes.h
|
| index 73277252e3ed1bb451f8507603256358ab03ac29..764978bd6c03649fb657e0c5e516bbe8e0983ae6 100644
|
| --- a/src/scopes.h
|
| +++ b/src/scopes.h
|
| @@ -484,8 +484,10 @@ class Scope: public ZoneObject {
|
|
|
| // Find the first non-block declaration scope. This should be either a script,
|
| // function, or eval scope. Same as DeclarationScope(), but skips
|
| - // declaration "block" scopes. Used for declaring temporaries.
|
| - Scope* TemporaryScope();
|
| + // declaration "block" scopes. Used for differentiating associated
|
| + // function objects (i.e., the scope for which a function prologue allocates
|
| + // a context) or declaring temporaries.
|
| + Scope* ClosureScope();
|
|
|
| // Find the first (non-arrow) function or script scope. This is where
|
| // 'this' is bound, and what determines the function kind.
|
|
|