OLD | NEW |
1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2013, 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 #if !defined(DART_PRECOMPILED_RUNTIME) |
| 6 |
5 #include "vm/constant_propagator.h" | 7 #include "vm/constant_propagator.h" |
6 | 8 |
7 #include "vm/bit_vector.h" | 9 #include "vm/bit_vector.h" |
8 #include "vm/flow_graph_builder.h" | 10 #include "vm/flow_graph_builder.h" |
9 #include "vm/flow_graph_compiler.h" | 11 #include "vm/flow_graph_compiler.h" |
10 #include "vm/flow_graph_range_analysis.h" | 12 #include "vm/flow_graph_range_analysis.h" |
11 #include "vm/il_printer.h" | 13 #include "vm/il_printer.h" |
12 #include "vm/intermediate_language.h" | 14 #include "vm/intermediate_language.h" |
13 #include "vm/parser.h" | 15 #include "vm/parser.h" |
14 #include "vm/symbols.h" | 16 #include "vm/symbols.h" |
(...skipping 1562 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1577 GrowableArray<BitVector*> dominance_frontier; | 1579 GrowableArray<BitVector*> dominance_frontier; |
1578 graph_->ComputeDominators(&dominance_frontier); | 1580 graph_->ComputeDominators(&dominance_frontier); |
1579 | 1581 |
1580 if (FLAG_trace_constant_propagation && | 1582 if (FLAG_trace_constant_propagation && |
1581 FlowGraphPrinter::ShouldPrint(graph_->function())) { | 1583 FlowGraphPrinter::ShouldPrint(graph_->function())) { |
1582 FlowGraphPrinter::PrintGraph("After CP", graph_); | 1584 FlowGraphPrinter::PrintGraph("After CP", graph_); |
1583 } | 1585 } |
1584 } | 1586 } |
1585 | 1587 |
1586 } // namespace dart | 1588 } // namespace dart |
| 1589 |
| 1590 #endif // !defined(DART_PRECOMPILED_RUNTIME) |
OLD | NEW |