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

Unified Diff: runtime/vm/flow_graph_allocator.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/vm/flag_list.h ('k') | runtime/vm/flow_graph_builder.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/flow_graph_allocator.cc
diff --git a/runtime/vm/flow_graph_allocator.cc b/runtime/vm/flow_graph_allocator.cc
index e83221259457c9d6c9d91e6c8c3aad3841405c72..b9bb33c2fc2617752c35f8c7e6d016568edeec91 100644
--- a/runtime/vm/flow_graph_allocator.cc
+++ b/runtime/vm/flow_graph_allocator.cc
@@ -2969,8 +2969,12 @@ void FlowGraphAllocator::AllocateRegisters() {
THR_Print("-- [before ssa allocator] ir [%s] -------------\n",
function.ToFullyQualifiedCString());
- FlowGraphPrinter printer(flow_graph_, true);
- printer.PrintBlocks();
+ if (FLAG_support_il_printer) {
+#ifndef PRODUCT
+ FlowGraphPrinter printer(flow_graph_, true);
+ printer.PrintBlocks();
+#endif
+ }
THR_Print("----------------------------------------------\n");
}
@@ -3010,8 +3014,12 @@ void FlowGraphAllocator::AllocateRegisters() {
THR_Print("-- [after ssa allocator] ir [%s] -------------\n",
function.ToFullyQualifiedCString());
- FlowGraphPrinter printer(flow_graph_, true);
- printer.PrintBlocks();
+ if (FLAG_support_il_printer) {
+#ifndef PRODUCT
+ FlowGraphPrinter printer(flow_graph_, true);
+ printer.PrintBlocks();
+#endif
+ }
THR_Print("----------------------------------------------\n");
}
}
« no previous file with comments | « runtime/vm/flag_list.h ('k') | runtime/vm/flow_graph_builder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698