| 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" |
| (...skipping 137 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 148 stackmap_table_builder_( | 148 stackmap_table_builder_( |
| 149 is_optimizing ? new StackmapTableBuilder() : NULL), | 149 is_optimizing ? new StackmapTableBuilder() : NULL), |
| 150 block_info_(block_order_.length()), | 150 block_info_(block_order_.length()), |
| 151 deopt_infos_(), | 151 deopt_infos_(), |
| 152 static_calls_target_table_(GrowableObjectArray::ZoneHandle( | 152 static_calls_target_table_(GrowableObjectArray::ZoneHandle( |
| 153 GrowableObjectArray::New())), | 153 GrowableObjectArray::New())), |
| 154 is_optimizing_(is_optimizing), | 154 is_optimizing_(is_optimizing), |
| 155 may_reoptimize_(false), | 155 may_reoptimize_(false), |
| 156 double_class_(Class::ZoneHandle( | 156 double_class_(Class::ZoneHandle( |
| 157 Isolate::Current()->object_store()->double_class())), | 157 Isolate::Current()->object_store()->double_class())), |
| 158 float32x4_class_(Class::ZoneHandle( |
| 159 Isolate::Current()->object_store()->float32x4_class())), |
| 158 parallel_move_resolver_(this), | 160 parallel_move_resolver_(this), |
| 159 pending_deoptimization_env_(NULL) { | 161 pending_deoptimization_env_(NULL) { |
| 160 ASSERT(assembler != NULL); | 162 ASSERT(assembler != NULL); |
| 161 } | 163 } |
| 162 | 164 |
| 163 | 165 |
| 164 bool FlowGraphCompiler::HasFinally() const { | 166 bool FlowGraphCompiler::HasFinally() const { |
| 165 return parsed_function().function().has_finally(); | 167 return parsed_function().function().has_finally(); |
| 166 } | 168 } |
| 167 | 169 |
| (...skipping 966 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1134 if (i != largest_ix) { | 1136 if (i != largest_ix) { |
| 1135 // Swap. | 1137 // Swap. |
| 1136 CidTarget temp = (*sorted)[i]; | 1138 CidTarget temp = (*sorted)[i]; |
| 1137 (*sorted)[i] = (*sorted)[largest_ix]; | 1139 (*sorted)[i] = (*sorted)[largest_ix]; |
| 1138 (*sorted)[largest_ix] = temp; | 1140 (*sorted)[largest_ix] = temp; |
| 1139 } | 1141 } |
| 1140 } | 1142 } |
| 1141 } | 1143 } |
| 1142 | 1144 |
| 1143 } // namespace dart | 1145 } // namespace dart |
| OLD | NEW |