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

Unified Diff: runtime/vm/heap.cc

Issue 1956403006: Fix product build. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 7 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/heap.cc
diff --git a/runtime/vm/heap.cc b/runtime/vm/heap.cc
index bb8d4469144f63d1a952a38e2f59c1160a9bc09f..2c92b17c52f3692024ff02d1c4f8fd54507c8123 100644
--- a/runtime/vm/heap.cc
+++ b/runtime/vm/heap.cc
@@ -837,6 +837,7 @@ void Heap::PrintStats() {
void Heap::PrintStatsToTimeline(TimelineEventScope* event) {
+#if !defined(PRODUCT)
if ((event == NULL) || !event->enabled()) {
return;
}
@@ -891,6 +892,7 @@ void Heap::PrintStatsToTimeline(TimelineEventScope* event) {
"After.Old.External (kB)",
"%" Pd "",
RoundWordsToKB(stats_.after_.old_.external_in_words));
+#endif // !defined(PRODUCT)
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698