Index: src/compiler.h |
diff --git a/src/compiler.h b/src/compiler.h |
index 6531474a17d28b24951373639a103d8206741c43..9d91b21bd3d4851b9141ebbd0b145a23087a82ac 100644 |
--- a/src/compiler.h |
+++ b/src/compiler.h |
@@ -12,6 +12,7 @@ |
namespace v8 { |
namespace internal { |
+class AstValueFactory; |
class ScriptData; |
class HydrogenCodeStub; |
@@ -321,6 +322,11 @@ class CompilationInfo { |
int optimization_id() const { return optimization_id_; } |
+ AstValueFactory* ast_value_factory() const { return ast_value_factory_; } |
+ void SetAstValueFactory(AstValueFactory* ast_value_factory) { |
+ ast_value_factory_ = ast_value_factory; |
+ } |
+ |
protected: |
CompilationInfo(Handle<Script> script, |
Zone* zone); |
@@ -464,6 +470,8 @@ class CompilationInfo { |
int optimization_id_; |
+ AstValueFactory* ast_value_factory_; |
+ |
DISALLOW_COPY_AND_ASSIGN(CompilationInfo); |
}; |