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 |