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 #include "vm/globals.h" // Needed here to get TARGET_ARCH_XXX. | 5 #include "vm/globals.h" // Needed here to get TARGET_ARCH_XXX. |
6 | 6 |
7 #include "vm/flow_graph_compiler.h" | 7 #include "vm/flow_graph_compiler.h" |
8 | 8 |
9 #include "vm/cha.h" | 9 #include "vm/cha.h" |
10 #include "vm/dart_entry.h" | 10 #include "vm/dart_entry.h" |
11 #include "vm/debugger.h" | 11 #include "vm/debugger.h" |
12 #include "vm/deopt_instructions.h" | 12 #include "vm/deopt_instructions.h" |
13 #include "vm/flow_graph_allocator.h" | 13 #include "vm/flow_graph_allocator.h" |
14 #include "vm/il_printer.h" | 14 #include "vm/il_printer.h" |
15 #include "vm/intrinsifier.h" | 15 #include "vm/intrinsifier.h" |
16 #include "vm/locations.h" | 16 #include "vm/locations.h" |
17 #include "vm/longjump.h" | 17 #include "vm/longjump.h" |
18 #include "vm/object_store.h" | 18 #include "vm/object_store.h" |
19 #include "vm/parser.h" | 19 #include "vm/parser.h" |
20 #include "vm/stub_code.h" | 20 #include "vm/stub_code.h" |
21 #include "vm/symbols.h" | 21 #include "vm/symbols.h" |
22 | 22 |
23 namespace dart { | 23 namespace dart { |
24 | 24 |
25 DEFINE_FLAG(bool, print_scopes, false, "Print scopes of local variables."); | |
26 DECLARE_FLAG(bool, code_comments); | 25 DECLARE_FLAG(bool, code_comments); |
27 DECLARE_FLAG(bool, enable_type_checks); | 26 DECLARE_FLAG(bool, enable_type_checks); |
28 DECLARE_FLAG(bool, intrinsify); | 27 DECLARE_FLAG(bool, intrinsify); |
29 DECLARE_FLAG(bool, propagate_ic_data); | 28 DECLARE_FLAG(bool, propagate_ic_data); |
30 DECLARE_FLAG(bool, report_usage_count); | 29 DECLARE_FLAG(bool, report_usage_count); |
31 DECLARE_FLAG(int, optimization_counter_threshold); | 30 DECLARE_FLAG(int, optimization_counter_threshold); |
32 DECLARE_FLAG(bool, use_cha); | 31 DECLARE_FLAG(bool, use_cha); |
33 DECLARE_FLAG(bool, use_osr); | 32 DECLARE_FLAG(bool, use_osr); |
34 | 33 |
35 | 34 |
(...skipping 1169 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1205 | 1204 |
1206 for (int i = 0; i < len; i++) { | 1205 for (int i = 0; i < len; i++) { |
1207 sorted->Add(CidTarget(ic_data.GetReceiverClassIdAt(i), | 1206 sorted->Add(CidTarget(ic_data.GetReceiverClassIdAt(i), |
1208 &Function::ZoneHandle(ic_data.GetTargetAt(i)), | 1207 &Function::ZoneHandle(ic_data.GetTargetAt(i)), |
1209 ic_data.GetCountAt(i))); | 1208 ic_data.GetCountAt(i))); |
1210 } | 1209 } |
1211 sorted->Sort(HighestCountFirst); | 1210 sorted->Sort(HighestCountFirst); |
1212 } | 1211 } |
1213 | 1212 |
1214 } // namespace dart | 1213 } // namespace dart |
OLD | NEW |