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

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

Issue 2976723003: Eliminate dependencies on assemblers and code stubs in precompiled runtime. (Closed)
Patch Set: Eliminate precompiled runtime flag Created 3 years, 5 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
« no previous file with comments | « runtime/vm/compiler.cc ('k') | runtime/vm/dart.cc » ('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) 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 1719 matching lines...) Expand 10 before | Expand all | Expand 10 after
1734 GrowableArray<BitVector*> dominance_frontier; 1736 GrowableArray<BitVector*> dominance_frontier;
1735 graph_->ComputeDominators(&dominance_frontier); 1737 graph_->ComputeDominators(&dominance_frontier);
1736 1738
1737 if (FLAG_trace_constant_propagation && 1739 if (FLAG_trace_constant_propagation &&
1738 FlowGraphPrinter::ShouldPrint(graph_->function())) { 1740 FlowGraphPrinter::ShouldPrint(graph_->function())) {
1739 FlowGraphPrinter::PrintGraph("After CP", graph_); 1741 FlowGraphPrinter::PrintGraph("After CP", graph_);
1740 } 1742 }
1741 } 1743 }
1742 1744
1743 } // namespace dart 1745 } // namespace dart
1746
1747 #endif // !defined(DART_PRECOMPILED_RUNTIME)
OLDNEW
« no previous file with comments | « runtime/vm/compiler.cc ('k') | runtime/vm/dart.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698