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

Unified Diff: src/compiler.h

Issue 231073002: WIP: Parser: delay string internalization. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: rebased Created 6 years, 7 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 | « src/ast.cc ('k') | src/compiler.cc » ('j') | src/parser-symbol-table.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/compiler.h
diff --git a/src/compiler.h b/src/compiler.h
index ac4dfd4e3e470a9862defd840070b2bbac7594ca..70f07cf27e8e5a1d34c9b0708e458d20dfadd7df 100644
--- a/src/compiler.h
+++ b/src/compiler.h
@@ -14,6 +14,7 @@ namespace internal {
class ScriptData;
class HydrogenCodeStub;
+class ParserSymbolTable;
// ParseRestriction is used to restrict the set of valid statements in a
// unit of compilation. Restriction violations cause a syntax error.
@@ -321,6 +322,11 @@ class CompilationInfo {
int optimization_id() const { return optimization_id_; }
+ ParserSymbolTable* symbol_table() const { return symbol_table_; }
+ void SetSymbolTable(ParserSymbolTable* symbol_table) {
+ symbol_table_ = symbol_table;
+ }
+
protected:
CompilationInfo(Handle<Script> script,
Zone* zone);
@@ -464,6 +470,8 @@ class CompilationInfo {
int optimization_id_;
+ ParserSymbolTable* symbol_table_;
+
DISALLOW_COPY_AND_ASSIGN(CompilationInfo);
};
« no previous file with comments | « src/ast.cc ('k') | src/compiler.cc » ('j') | src/parser-symbol-table.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698