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

Side by Side Diff: runtime/vm/flow_graph.cc

Issue 905363002: Add --print-flow-graph-filter to allow filtering debugging output. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 5 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « runtime/vm/compiler.cc ('k') | runtime/vm/flow_graph_inliner.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 #include "vm/flow_graph.h" 5 #include "vm/flow_graph.h"
6 6
7 #include "vm/bit_vector.h" 7 #include "vm/bit_vector.h"
8 #include "vm/flow_graph_builder.h" 8 #include "vm/flow_graph_builder.h"
9 #include "vm/il_printer.h"
9 #include "vm/intermediate_language.h" 10 #include "vm/intermediate_language.h"
10 #include "vm/growable_array.h" 11 #include "vm/growable_array.h"
11 #include "vm/object_store.h" 12 #include "vm/object_store.h"
12 #include "vm/report.h" 13 #include "vm/report.h"
13 14
14 namespace dart { 15 namespace dart {
15 16
16 DEFINE_FLAG(bool, prune_dead_locals, true, "optimize dead locals away"); 17 DEFINE_FLAG(bool, prune_dead_locals, true, "optimize dead locals away");
17 DECLARE_FLAG(bool, reorder_basic_blocks); 18 DECLARE_FLAG(bool, reorder_basic_blocks);
18 DECLARE_FLAG(bool, trace_optimization); 19 DECLARE_FLAG(bool, trace_optimization);
(...skipping 1363 matching lines...) Expand 10 before | Expand all | Expand 10 after
1382 } 1383 }
1383 1384
1384 1385
1385 bool BlockEffects::IsSideEffectFreePath(BlockEntryInstr* from, 1386 bool BlockEffects::IsSideEffectFreePath(BlockEntryInstr* from,
1386 BlockEntryInstr* to) const { 1387 BlockEntryInstr* to) const {
1387 return available_at_[to->postorder_number()]->Contains( 1388 return available_at_[to->postorder_number()]->Contains(
1388 from->postorder_number()); 1389 from->postorder_number());
1389 } 1390 }
1390 1391
1391 } // namespace dart 1392 } // namespace dart
OLDNEW
« no previous file with comments | « runtime/vm/compiler.cc ('k') | runtime/vm/flow_graph_inliner.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698