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

Unified Diff: runtime/vm/ast_printer.cc

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/tests/vm/vm.status ('k') | runtime/vm/compiler.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 bd45331184193069087ba7a6bd374108b29bfb5b..3732c3a373f0c98143ea996cccc312716bde89bd 100644
--- a/runtime/vm/ast_printer.cc
+++ b/runtime/vm/ast_printer.cc
@@ -10,9 +10,9 @@
#include "vm/os.h"
#include "vm/parser.h"
-namespace dart {
+#if !defined(PRODUCT)
-#ifndef PRODUCT
+namespace dart {
AstPrinter::AstPrinter() : indent_(0) { }
@@ -576,6 +576,6 @@ void AstPrinter::PrintFunctionNodes(const ParsedFunction& parsed_function) {
THR_Print("}\n");
}
-#endif // !PRODUCT
-
} // namespace dart
+
+#endif // !defined(PRODUCT)
« no previous file with comments | « runtime/tests/vm/vm.status ('k') | runtime/vm/compiler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698