Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(833)

Unified Diff: runtime/vm/compiler.cc

Issue 195733009: Basic tag infrastructure (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « runtime/vm/base_isolate.h ('k') | runtime/vm/dart_api_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/compiler.cc
diff --git a/runtime/vm/compiler.cc b/runtime/vm/compiler.cc
index 14e5a873b71d663f75a648ba454f2a7a387fdd41..c0bbbe20c60cae4e31003c60071c2b18e919444a 100644
--- a/runtime/vm/compiler.cc
+++ b/runtime/vm/compiler.cc
@@ -30,6 +30,7 @@
#include "vm/parser.h"
#include "vm/scanner.h"
#include "vm/symbols.h"
+#include "vm/tags.h"
#include "vm/timer.h"
namespace dart {
@@ -261,6 +262,7 @@ 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);
HANDLESCOPE(isolate);
isolate->set_cha_used(false);
« no previous file with comments | « runtime/vm/base_isolate.h ('k') | runtime/vm/dart_api_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698