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

Unified Diff: vm/symbols.cc

Issue 10835010: One more attempt at trying to turn off usage of vm isolate for symbols. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/runtime/
Patch Set: Created 8 years, 5 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: vm/symbols.cc
===================================================================
--- vm/symbols.cc (revision 9954)
+++ vm/symbols.cc (working copy)
@@ -15,6 +15,7 @@
RawString* Symbols::predefined_[Symbols::kMaxPredefined];
+#if 0
static const char* names[] = {
NULL,
@@ -23,6 +24,7 @@
PREDEFINED_SYMBOLS_LIST(DEFINE_SYMBOL_LITERAL)
#undef DEFINE_SYMBOL_LITERAL
};
+#endif
void Symbols::InitOnce(Isolate* isolate) {
@@ -32,6 +34,7 @@
// Create and setup a symbol table in the vm isolate.
SetupSymbolTable(isolate);
+#if 0
// Create all predefined symbols.
ASSERT((sizeof(names) / sizeof(const char*)) == kMaxPredefined);
const Array& symbol_table =
@@ -43,6 +46,7 @@
Add(symbol_table, str);
predefined_[i] = str.raw();
}
+#endif
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698