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

Unified Diff: runtime/vm/compiler_stats.cc

Issue 1711163002: Remove more things (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: 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
Index: runtime/vm/compiler_stats.cc
diff --git a/runtime/vm/compiler_stats.cc b/runtime/vm/compiler_stats.cc
index d120682917cf4dbdcd4b7ac926046900a83eabe8..7905ed8496cdea27bc1e7a5535f0ae5e1809f2c0 100644
--- a/runtime/vm/compiler_stats.cc
+++ b/runtime/vm/compiler_stats.cc
@@ -89,6 +89,8 @@ CompilerStats::CompilerStats(Isolate* isolate)
}
+#ifndef PRODUCT
+
// This function is used as a callback in the log object to which the
// compiler stats are printed. It will be called only once, to print
// the accumulated text when all of the compiler stats values are
@@ -286,4 +288,6 @@ char* CompilerStats::PrintToZone() {
return stats_text;
}
+#endif // !PRODUCT
+
} // namespace dart

Powered by Google App Engine
This is Rietveld 408576698