Index: runtime/vm/flow_graph_compiler.cc |
diff --git a/runtime/vm/flow_graph_compiler.cc b/runtime/vm/flow_graph_compiler.cc |
index 6d4795751651e2f07d85452a2268b42be977d77b..5280252ef8e98a2c725435b21837c5ed1e728cd2 100644 |
--- a/runtime/vm/flow_graph_compiler.cc |
+++ b/runtime/vm/flow_graph_compiler.cc |
@@ -25,6 +25,7 @@ |
#include "vm/stack_frame.h" |
#include "vm/stub_code.h" |
#include "vm/symbols.h" |
+#include "vm/timeline.h" |
namespace dart { |
@@ -250,6 +251,9 @@ bool FlowGraphCompiler::IsPotentialUnboxedField(const Field& field) { |
void FlowGraphCompiler::InitCompiler() { |
+ TimelineDurationScope tds(thread(), |
+ isolate()->GetCompilerStream(), |
+ "InitCompiler"); |
pc_descriptors_list_ = new(zone()) DescriptorList(64); |
exception_handlers_list_ = new(zone())ExceptionHandlerList(); |
block_info_.Clear(); |