| Index: runtime/vm/dart.cc
|
| diff --git a/runtime/vm/dart.cc b/runtime/vm/dart.cc
|
| index 0d6cc90263d3ffbdf5d8d13004b6bbbb174dee2e..5f88fbcd27b0c152ef2c3448efcc751e0938647f 100644
|
| --- a/runtime/vm/dart.cc
|
| +++ b/runtime/vm/dart.cc
|
| @@ -217,6 +217,9 @@ RawError* Dart::InitializeIsolate(const uint8_t* snapshot_buffer, void* data) {
|
| ObjectIdRing::Init(isolate);
|
| ObjectStore::Init(isolate);
|
|
|
| + // Setup for profiling.
|
| + Profiler::InitProfilingForIsolate(isolate);
|
| +
|
| if (snapshot_buffer == NULL) {
|
| const Error& error = Error::Handle(Object::Init(isolate));
|
| if (!error.IsNull()) {
|
| @@ -259,8 +262,6 @@ RawError* Dart::InitializeIsolate(const uint8_t* snapshot_buffer, void* data) {
|
| isolate->class_table()->Print();
|
| }
|
|
|
| - // Setup for profiling.
|
| - Profiler::InitProfilingForIsolate(isolate);
|
|
|
| Service::SendIsolateStartupMessage();
|
| // Create tag table.
|
|
|