| Index: runtime/vm/compiler.cc
|
| diff --git a/runtime/vm/compiler.cc b/runtime/vm/compiler.cc
|
| index c42072f4c25aa492b8ffebbdf04f764be432ea5a..493cc0e67e0152d076e0aa67fc2c6cffbba69723 100644
|
| --- a/runtime/vm/compiler.cc
|
| +++ b/runtime/vm/compiler.cc
|
| @@ -309,6 +309,17 @@ RawError* Compiler::CompileClass(const Class& cls) {
|
| // also allows us to reset the marked_for_parsing state in case we see an
|
| // error.
|
| VMTagScope tagScope(thread, VMTag::kCompileClassTagId);
|
| + TimelineDurationScope tds(thread,
|
| + thread->isolate()->GetCompilerStream(),
|
| + "CompileClass");
|
| + if (tds.enabled()) {
|
| + tds.SetNumArguments(1);
|
| + tds.CopyArgument(
|
| + 0,
|
| + "class",
|
| + const_cast<char*>(cls.ToCString()));
|
| + }
|
| +
|
| GrowableHandlePtrArray<const Class> parse_list(thread->zone(), 4);
|
| GrowableHandlePtrArray<const Class> patch_list(thread->zone(), 4);
|
|
|
|
|