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); |
}; |