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

Unified Diff: runtime/vm/ast_printer.cc

Issue 1678203002: Remove more feature in product mode (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
« no previous file with comments | « runtime/observatory/tests/service/service.status ('k') | runtime/vm/ast_printer_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/ast_printer.cc
diff --git a/runtime/vm/ast_printer.cc b/runtime/vm/ast_printer.cc
index 9997a981d057f187b415a785e00607e9ef987748..bd45331184193069087ba7a6bd374108b29bfb5b 100644
--- a/runtime/vm/ast_printer.cc
+++ b/runtime/vm/ast_printer.cc
@@ -12,6 +12,8 @@
namespace dart {
+#ifndef PRODUCT
+
AstPrinter::AstPrinter() : indent_(0) { }
@@ -574,4 +576,6 @@ void AstPrinter::PrintFunctionNodes(const ParsedFunction& parsed_function) {
THR_Print("}\n");
}
+#endif // !PRODUCT
+
} // namespace dart
« no previous file with comments | « runtime/observatory/tests/service/service.status ('k') | runtime/vm/ast_printer_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698