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

Unified Diff: vm/dart.cc

Issue 9965042: - Add a class index to the classes. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/runtime/
Patch Set: Created 8 years, 9 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
Index: vm/dart.cc
===================================================================
--- vm/dart.cc (revision 5947)
+++ vm/dart.cc (working copy)
@@ -21,6 +21,7 @@
namespace dart {
+DECLARE_FLAG(bool, print_class_table);
DECLARE_FLAG(bool, trace_isolates);
Isolate* Dart::vm_isolate_ = NULL;
@@ -96,6 +97,9 @@
StubCode::Init(isolate);
CodeIndexTable::Init(isolate);
isolate->set_init_callback_data(data);
+ if (FLAG_print_class_table) {
+ isolate->class_table()->Print();
+ }
return Error::null();
}

Powered by Google App Engine
This is Rietveld 408576698