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

Unified Diff: runtime/vm/timeline.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/symbols.cc ('k') | runtime/vm/timer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/timeline.h
diff --git a/runtime/vm/timeline.h b/runtime/vm/timeline.h
index 960eefa2dd5f28766f2b8c2cdd86141cc97456ab..983d3fc1a101dd36d0c6868de6932aba6b807e24 100644
--- a/runtime/vm/timeline.h
+++ b/runtime/vm/timeline.h
@@ -228,9 +228,9 @@ class TimelineStream {
V(Isolate, false) \
-#define TIMELINE_FUNCTION_COMPILATION_DURATION(isolate, suffix, function) \
- TimelineDurationScope tds(isolate, \
- isolate->GetCompilerStream(), \
+#define TIMELINE_FUNCTION_COMPILATION_DURATION(thread, suffix, function) \
+ TimelineDurationScope tds(thread, \
+ thread->isolate()->GetCompilerStream(), \
"Compile" suffix); \
if (tds.enabled()) { \
tds.SetNumArguments(1); \
« no previous file with comments | « runtime/vm/symbols.cc ('k') | runtime/vm/timer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698