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

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: more cleanup 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-string-table.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 ac4dfd4e3e470a9862defd840070b2bbac7594ca..8078e8b14c4e65f25f6ff84a068624ab1dc81038 100644
--- a/src/compiler.h
+++ b/src/compiler.h
@@ -12,6 +12,7 @@
namespace v8 {
namespace internal {
+class AstStringTable;
class ScriptData;
class HydrogenCodeStub;
@@ -321,6 +322,11 @@ class CompilationInfo {
int optimization_id() const { return optimization_id_; }
+ AstStringTable* string_table() const { return string_table_; }
+ void SetStringTable(AstStringTable* string_table) {
+ string_table_ = string_table;
+ }
+
protected:
CompilationInfo(Handle<Script> script,
Zone* zone);
@@ -464,6 +470,8 @@ class CompilationInfo {
int optimization_id_;
+ AstStringTable* string_table_;
+
DISALLOW_COPY_AND_ASSIGN(CompilationInfo);
};
« no previous file with comments | « src/ast-string-table.cc ('k') | src/compiler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698