| Index: runtime/vm/dart.cc
|
| diff --git a/runtime/vm/dart.cc b/runtime/vm/dart.cc
|
| index e03377d8e03cbd815454f622f4a7c0c45d0b64fc..b5e3ac48e577ba772812e39428b5c8ff81aeda10 100644
|
| --- a/runtime/vm/dart.cc
|
| +++ b/runtime/vm/dart.cc
|
| @@ -101,6 +101,7 @@ const char* Dart::InitOnce(Dart_IsolateCreateCallback create,
|
| CodeObservers::InitOnce();
|
| ThreadInterrupter::InitOnce();
|
| Profiler::InitOnce();
|
| +
|
| #if defined(USING_SIMULATOR)
|
| Simulator::InitOnce();
|
| #endif
|
| @@ -249,6 +250,10 @@ RawError* Dart::InitializeIsolate(const uint8_t* snapshot_buffer, void* data) {
|
| if (FLAG_print_class_table) {
|
| isolate->class_table()->Print();
|
| }
|
| +
|
| + // Setup for profiling.
|
| + Profiler::InitProfilingForIsolate(isolate);
|
| +
|
| Service::SendIsolateStartupMessage();
|
| return Error::null();
|
| }
|
|
|