Index: runtime/vm/dart.cc |
diff --git a/runtime/vm/dart.cc b/runtime/vm/dart.cc |
index 06ae6cfc100f69f4d0d4c01b745a8de2409ce16f..0fd5fa7107ab09f8c749cd5202023ed1042bcf4e 100644 |
--- a/runtime/vm/dart.cc |
+++ b/runtime/vm/dart.cc |
@@ -298,6 +298,9 @@ RawError* Dart::InitializeIsolate(const uint8_t* snapshot_buffer, void* data) { |
ObjectStore::Init(I); |
} |
+ // Setup for profiling. |
+ Profiler::InitProfilingForIsolate(I); |
+ |
const Error& error = Error::Handle(Object::Init(I)); |
if (!error.IsNull()) { |
return error.raw(); |