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

Unified Diff: runtime/vm/timeline.h

Issue 1715123003: - Add DEBUG_ONLY and NOT_IN_PRODUCT macros. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Update status files. Created 4 years, 10 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/raw_object.h ('k') | tests/co19/co19-runtime.status » ('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 f44fb53a0c2537b819b47b983999c064b1f00846..6dfc8d21d2a3df0c385452d74421264b112ef86c 100644
--- a/runtime/vm/timeline.h
+++ b/runtime/vm/timeline.h
@@ -362,8 +362,7 @@ class TimelineStream {
function.ToLibNamePrefixedQualifiedCString()); \
}
#else
-#define TIMELINE_FUNCTION_COMPILATION_DURATION(thread, suffix, function) \
- do { } while (false);
+#define TIMELINE_FUNCTION_COMPILATION_DURATION(thread, suffix, function)
#endif // !PRODUCT
// See |TimelineDurationScope| and |TimelineBeginEndScope|.
« no previous file with comments | « runtime/vm/raw_object.h ('k') | tests/co19/co19-runtime.status » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698