Index: runtime/vm/dart.cc |
diff --git a/runtime/vm/dart.cc b/runtime/vm/dart.cc |
index 07547deb87347f40a619506277052daf862dd358..6736835c9d29eae68e0eec1c454d62ac95638b30 100644 |
--- a/runtime/vm/dart.cc |
+++ b/runtime/vm/dart.cc |
@@ -16,6 +16,7 @@ |
#include "vm/handles.h" |
#include "vm/heap.h" |
#include "vm/isolate.h" |
+#include "vm/kernel_isolate.h" |
#include "vm/message_handler.h" |
#include "vm/metrics.h" |
#include "vm/object.h" |
@@ -312,6 +313,10 @@ char* Dart::InitOnce(const uint8_t* vm_isolate_snapshot, |
ServiceIsolate::Run(); |
+#ifndef DART_PRECOMPILED_RUNTIME |
+ KernelIsolate::Run(); |
+#endif // DART_PRECOMPILED_RUNTIME |
+ |
return NULL; |
} |
@@ -599,6 +604,9 @@ RawError* Dart::InitializeIsolate(const uint8_t* snapshot_buffer, |
I->class_table()->Print(); |
} |
+#ifndef DART_PRECOMPILED_RUNTIME |
+ KernelIsolate::InitCallback(I); |
+#endif |
ServiceIsolate::MaybeMakeServiceIsolate(I); |
if (!ServiceIsolate::IsServiceIsolate(I)) { |
I->message_handler()->set_should_pause_on_start( |