| Index: runtime/vm/parser.cc
|
| diff --git a/runtime/vm/parser.cc b/runtime/vm/parser.cc
|
| index 4e6182335fe4a3185e5f1996f927567ef31e0ed8..ac4d44e0edffd9dbbff2fbbf3e7153a5a1fd9be3 100644
|
| --- a/runtime/vm/parser.cc
|
| +++ b/runtime/vm/parser.cc
|
| @@ -381,7 +381,7 @@ void Parser::ParseCompilationUnit(const Library& library,
|
| Isolate* isolate = Isolate::Current();
|
| ASSERT(isolate->long_jump_base()->IsSafeToJump());
|
| TimerScope timer(FLAG_compiler_stats, &CompilerStats::parser_timer);
|
| - VMTagScope tagScope(isolate, VMTag::kCompileTagId);
|
| + VMTagScope tagScope(isolate, VMTag::kCompileTopLevelTagId);
|
| Parser parser(script, library, 0);
|
| parser.ParseTopLevel();
|
| }
|
| @@ -730,7 +730,7 @@ static bool HasReturnNode(SequenceNode* seq) {
|
| void Parser::ParseClass(const Class& cls) {
|
| if (!cls.is_synthesized_class()) {
|
| Isolate* isolate = Isolate::Current();
|
| - VMTagScope tagScope(isolate, VMTag::kCompileTagId);
|
| + VMTagScope tagScope(isolate, VMTag::kCompileTopLevelTagId);
|
| TimerScope timer(FLAG_compiler_stats, &CompilerStats::parser_timer);
|
| ASSERT(isolate->long_jump_base()->IsSafeToJump());
|
| const Script& script = Script::Handle(isolate, cls.script());
|
| @@ -789,7 +789,7 @@ RawObject* Parser::ParseFunctionParameters(const Function& func) {
|
|
|
| void Parser::ParseFunction(ParsedFunction* parsed_function) {
|
| Isolate* isolate = Isolate::Current();
|
| - VMTagScope tagScope(isolate, VMTag::kCompileTagId);
|
| + VMTagScope tagScope(isolate, VMTag::kCompileTopLevelTagId);
|
| TimerScope timer(FLAG_compiler_stats, &CompilerStats::parser_timer);
|
| CompilerStats::num_functions_compiled++;
|
| ASSERT(isolate->long_jump_base()->IsSafeToJump());
|
|
|