Index: runtime/vm/compiler.cc |
diff --git a/runtime/vm/compiler.cc b/runtime/vm/compiler.cc |
index 656481ad075d61cd9d28bed953da5b793d6c0b2d..c2212d0b87ff1693091c5e56942a803cca6d05b9 100644 |
--- a/runtime/vm/compiler.cc |
+++ b/runtime/vm/compiler.cc |
@@ -258,9 +258,11 @@ static bool CompileParsedFunctionHelper(ParsedFunction* parsed_function, |
if (optimized && !function.IsOptimizable()) { |
return false; |
} |
+ |
TimerScope timer(FLAG_compiler_stats, &CompilerStats::codegen_timer); |
bool is_compiled = false; |
Isolate* isolate = Isolate::Current(); |
+ VMTagScope tagScope(VMTag::kCompileTagId, isolate); |
HANDLESCOPE(isolate); |
isolate->set_cha_used(false); |