Index: runtime/vm/dart.cc |
diff --git a/runtime/vm/dart.cc b/runtime/vm/dart.cc |
index d49b7f4b88d8f6de906b8b8ff191a0ce90b31fb5..129b77a63679829b4cf5a68b389296831b0d64c4 100644 |
--- a/runtime/vm/dart.cc |
+++ b/runtime/vm/dart.cc |
@@ -27,6 +27,7 @@ |
#include "vm/symbols.h" |
#include "vm/thread_interrupter.h" |
#include "vm/thread_pool.h" |
+#include "vm/timeline.h" |
#include "vm/virtual_memory.h" |
#include "vm/zone.h" |
@@ -324,6 +325,8 @@ RawError* Dart::InitializeIsolate(const uint8_t* snapshot_buffer, void* data) { |
const UserTag& default_tag = UserTag::Handle(UserTag::DefaultTag()); |
isolate->set_current_tag(default_tag); |
+ isolate->SetTimelineEventBuffer(new TimelineEventBuffer()); |
+ |
if (FLAG_keep_code) { |
isolate->set_deoptimized_code_array( |
GrowableObjectArray::Handle(GrowableObjectArray::New())); |