| Index: src/compiler.h
|
| diff --git a/src/compiler.h b/src/compiler.h
|
| index 24a8a9f5de51c0d3ed79972428bf2e9a330450df..677cb943d7b7ba446bd55ec6dfbfd130c73e49fd 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.
|
| @@ -306,6 +307,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);
|
| @@ -447,6 +453,8 @@ class CompilationInfo {
|
|
|
| int optimization_id_;
|
|
|
| + ParserSymbolTable* symbol_table_;
|
| +
|
| DISALLOW_COPY_AND_ASSIGN(CompilationInfo);
|
| };
|
|
|
|
|