| Index: runtime/vm/compiler.cc
|
| diff --git a/runtime/vm/compiler.cc b/runtime/vm/compiler.cc
|
| index 2039190d0ed9b161114ff68ab1b685deac390801..fa24d909dc83753cb911edb8d4e1ca83ed73bccc 100644
|
| --- a/runtime/vm/compiler.cc
|
| +++ b/runtime/vm/compiler.cc
|
| @@ -264,7 +264,9 @@ static bool CompileParsedFunctionHelper(ParsedFunction* parsed_function,
|
| TimerScope timer(FLAG_compiler_stats, &CompilerStats::codegen_timer);
|
| bool is_compiled = false;
|
| Isolate* isolate = Isolate::Current();
|
| - VMTagScope tagScope(isolate, VMTag::kCompileTagId);
|
| + const intptr_t compiler_tag = optimized ? VMTag::kCompileOptimizedTagId :
|
| + VMTag::kCompileUnoptimizedTagId;
|
| + VMTagScope tagScope(isolate, compiler_tag);
|
| HANDLESCOPE(isolate);
|
| isolate->set_cha_used(false);
|
|
|
|
|