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

Unified Diff: runtime/vm/compiler_stats.h

Issue 1291803009: Enable concurrent optimization test after migrating scopes to Thread* (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Update ASSERT in LongJumpScope. Created 5 years, 4 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/compiler.cc ('k') | runtime/vm/dart.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/compiler_stats.h
diff --git a/runtime/vm/compiler_stats.h b/runtime/vm/compiler_stats.h
index a9ea0f14e8b97667c181cd8f646f04f5d3e654ec..8798c01762db7a41a3db9cdf73aaa794db63ad0f 100644
--- a/runtime/vm/compiler_stats.h
+++ b/runtime/vm/compiler_stats.h
@@ -67,10 +67,10 @@ class CompilerStats {
#define INC_STAT(isolate, counter, incr) \
if (FLAG_compiler_stats) { (isolate)->compiler_stats()->counter += (incr); }
-#define CSTAT_TIMER_SCOPE(iso, t) \
+#define CSTAT_TIMER_SCOPE(thr, t) \
TimerScope timer(FLAG_compiler_stats, \
- FLAG_compiler_stats ? &((iso)->compiler_stats()->t) : NULL, \
- iso);
+ FLAG_compiler_stats ? &((thr)->isolate()->compiler_stats()->t) : NULL, \
+ thr);
} // namespace dart
« no previous file with comments | « runtime/vm/compiler.cc ('k') | runtime/vm/dart.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698