Chromium Code Reviews| 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(); |
| } |