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

Unified Diff: runtime/vm/object_store.cc

Issue 72923002: Add Dart keyword symbols to the VM isolate (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 1 month 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
Index: runtime/vm/object_store.cc
===================================================================
--- runtime/vm/object_store.cc (revision 30276)
+++ runtime/vm/object_store.cc (working copy)
@@ -68,7 +68,6 @@
stack_overflow_(Instance::null()),
out_of_memory_(Instance::null()),
preallocated_stack_trace_(Stacktrace::null()),
- keyword_symbols_(Array::null()),
receive_port_create_function_(Function::null()),
lookup_receive_port_function_(Function::null()),
handle_message_function_(Function::null()) {
@@ -143,14 +142,4 @@
return true;
}
-
-void ObjectStore::InitKeywordTable() {
- // Set up the keywords symbol array so that we can access it while scanning.
- Array& keywords = Array::Handle(keyword_symbols());
- ASSERT(keywords.IsNull());
- keywords = Array::New(Token::numKeywords, Heap::kOld);
- ASSERT(!keywords.IsError() && !keywords.IsNull());
- set_keyword_symbols(keywords);
-}
-
} // namespace dart

Powered by Google App Engine
This is Rietveld 408576698