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

Unified Diff: src/isolate.h

Issue 2687933003: [Parser] Cache and clone initial AstValueFactory string_table_. (Closed)
Patch Set: Address comments Created 3 years, 10 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/base/hashmap.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/isolate.h
diff --git a/src/isolate.h b/src/isolate.h
index 6d35c51830795c204d86d6b0d358666869a1a711..e93a1d50b2c7aef106599d6b9c97fd57c8c625fb 100644
--- a/src/isolate.h
+++ b/src/isolate.h
@@ -1159,7 +1159,7 @@ class Isolate {
return cancelable_task_manager_;
}
- AstStringConstants* ast_string_constants() const {
+ const AstStringConstants* ast_string_constants() const {
return ast_string_constants_;
}
@@ -1409,7 +1409,7 @@ class Isolate {
std::unique_ptr<CodeEventDispatcher> code_event_dispatcher_;
FunctionEntryHook function_entry_hook_;
- AstStringConstants* ast_string_constants_;
+ const AstStringConstants* ast_string_constants_;
interpreter::Interpreter* interpreter_;
« no previous file with comments | « src/base/hashmap.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698