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

Unified Diff: src/compiler.h

Issue 335293004: New try: Parser: Delay internalizing strings and values (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: rebased (trivial) Created 6 years, 6 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-value-factory.cc ('k') | src/compiler.cc » ('j') | no next file with comments »
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 6531474a17d28b24951373639a103d8206741c43..fdb79005085ed89dd97b2d0369cf52ba5eca8b67 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,13 @@ class CompilationInfo {
int optimization_id() const { return optimization_id_; }
+ AstValueFactory* ast_value_factory() const { return ast_value_factory_; }
+ void SetAstValueFactory(AstValueFactory* ast_value_factory,
+ bool owned = true) {
+ ast_value_factory_ = ast_value_factory;
+ ast_value_factory_owned_ = owned;
+ }
+
protected:
CompilationInfo(Handle<Script> script,
Zone* zone);
@@ -464,6 +472,9 @@ class CompilationInfo {
int optimization_id_;
+ AstValueFactory* ast_value_factory_;
+ bool ast_value_factory_owned_;
+
DISALLOW_COPY_AND_ASSIGN(CompilationInfo);
};
« no previous file with comments | « src/ast-value-factory.cc ('k') | src/compiler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698