| Index: runtime/vm/isolate.cc
|
| diff --git a/runtime/vm/isolate.cc b/runtime/vm/isolate.cc
|
| index 3b271051c6c5ff3459065db73f3b6d30e109b5a5..ecd0c720d98421a8341317b79364b8c975960352 100644
|
| --- a/runtime/vm/isolate.cc
|
| +++ b/runtime/vm/isolate.cc
|
| @@ -369,6 +369,9 @@ Isolate* Isolate::Init(const char* name_prefix) {
|
| Isolate* result = new Isolate();
|
| ASSERT(result != NULL);
|
|
|
| + // Setup for profiling.
|
| + ProfilerManager::SetupIsolateForProfiling(result);
|
| +
|
| // TODO(5411455): For now just set the recently created isolate as
|
| // the current isolate.
|
| SetCurrent(result);
|
| @@ -407,8 +410,6 @@ Isolate* Isolate::Init(const char* name_prefix) {
|
| }
|
| }
|
|
|
| - // Setup for profiling.
|
| - ProfilerManager::SetupIsolateForProfiling(result);
|
|
|
| return result;
|
| }
|
|
|