Chromium Code Reviews| Index: src/parser.h |
| diff --git a/src/parser.h b/src/parser.h |
| index 0ebc84312ab976f7b282658e8a6c52d4a88173b2..4e4d8fc112dd71d257ac8332e1169da306ea2cc8 100644 |
| --- a/src/parser.h |
| +++ b/src/parser.h |
| @@ -42,7 +42,7 @@ class FuncNameInferrer; |
| class ParserLog; |
| class PositionStack; |
| class Target; |
| -class TemporaryScope; |
| +class LexicalScope; |
| template <typename T> class ZoneListWrapper; |
| @@ -700,7 +700,7 @@ class Parser { |
| Scope* top_scope_; |
| int with_nesting_level_; |
| - TemporaryScope* temp_scope_; |
| + LexicalScope* lexical_scope_; |
| Mode mode_; |
| Target* target_stack_; // for break, continue statements |
| @@ -715,6 +715,8 @@ class Parser { |
| // Heuristically that means that the function will be called immediately, |
| // so never lazily compile it. |
| bool parenthesized_function_; |
| + |
| + friend class LexicalScope; |
|
Martin Maly
2011/03/21 03:48:13
Making LexicalScope friend so that it doesn't have
|
| }; |