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

Unified Diff: runtime/vm/flow_graph_builder.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/flow_graph_allocator.cc ('k') | runtime/vm/flow_graph_builder_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/flow_graph_builder.cc
diff --git a/runtime/vm/flow_graph_builder.cc b/runtime/vm/flow_graph_builder.cc
index b424c603422311172ce1c724bd6a47633c4a08db..b752659de0876a972aaeaa50a2a5dd4e844a9d6e 100644
--- a/runtime/vm/flow_graph_builder.cc
+++ b/runtime/vm/flow_graph_builder.cc
@@ -4622,11 +4622,11 @@ FlowGraph* FlowGraphBuilder::BuildGraph() {
VMTagScope tagScope(Thread::Current(),
VMTag::kCompileFlowGraphBuilderTagId,
FLAG_profile_vm);
- if (FLAG_print_ast) {
+ if (FLAG_support_ast_printer && FLAG_print_ast) {
// Print the function ast before IL generation.
AstPrinter::PrintFunctionNodes(parsed_function());
}
- if (FLAG_print_scopes) {
+ if (FLAG_support_ast_printer && FLAG_print_scopes) {
AstPrinter::PrintFunctionScope(parsed_function());
}
TargetEntryInstr* normal_entry =
« no previous file with comments | « runtime/vm/flow_graph_allocator.cc ('k') | runtime/vm/flow_graph_builder_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698