Index: runtime/vm/parser.cc |
diff --git a/runtime/vm/parser.cc b/runtime/vm/parser.cc |
index 89cf98887ea8f4372cb8eef0662756d43486e83e..27b10fbdf5c04b984be500e2fefeb64ab01e8b22 100644 |
--- a/runtime/vm/parser.cc |
+++ b/runtime/vm/parser.cc |
@@ -926,7 +926,9 @@ void Parser::ParseFunction(ParsedFunction* parsed_function) { |
INC_STAT(thread, num_functions_parsed, 1); |
VMTagScope tagScope(thread, VMTag::kCompileParseFunctionTagId, |
FLAG_profile_vm); |
- |
+ TimelineDurationScope tds(thread, |
+ thread->isolate()->GetCompilerStream(), |
+ "ParseFunction"); |
ASSERT(thread->long_jump_base()->IsSafeToJump()); |
ASSERT(parsed_function != NULL); |
const Function& func = parsed_function->function(); |