Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(209)

Unified Diff: src/parser.h

Issue 6714040: Merge TemporaryScope with LexicalScope. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 9 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | src/parser.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
};
« no previous file with comments | « no previous file | src/parser.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698