OLD | NEW |
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 #ifndef VM_FLOW_GRAPH_COMPILER_H_ | 5 #ifndef VM_FLOW_GRAPH_COMPILER_H_ |
6 #define VM_FLOW_GRAPH_COMPILER_H_ | 6 #define VM_FLOW_GRAPH_COMPILER_H_ |
7 | 7 |
8 #include "vm/allocation.h" | 8 #include "vm/allocation.h" |
9 #include "vm/assembler.h" | 9 #include "vm/assembler.h" |
10 #include "vm/code_descriptors.h" | 10 #include "vm/code_descriptors.h" |
(...skipping 261 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
272 bool is_optimizing, | 272 bool is_optimizing, |
273 const GrowableArray<const Function*>& inline_id_to_function, | 273 const GrowableArray<const Function*>& inline_id_to_function, |
274 const GrowableArray<intptr_t>& caller_inline_id); | 274 const GrowableArray<intptr_t>& caller_inline_id); |
275 | 275 |
276 ~FlowGraphCompiler(); | 276 ~FlowGraphCompiler(); |
277 | 277 |
278 static bool SupportsUnboxedDoubles(); | 278 static bool SupportsUnboxedDoubles(); |
279 static bool SupportsUnboxedMints(); | 279 static bool SupportsUnboxedMints(); |
280 static bool SupportsSinCos(); | 280 static bool SupportsSinCos(); |
281 static bool SupportsUnboxedSimd128(); | 281 static bool SupportsUnboxedSimd128(); |
| 282 static bool SupportsHardwareDivision(); |
282 | 283 |
283 // Accessors. | 284 // Accessors. |
284 Assembler* assembler() const { return assembler_; } | 285 Assembler* assembler() const { return assembler_; } |
285 const ParsedFunction& parsed_function() const { return parsed_function_; } | 286 const ParsedFunction& parsed_function() const { return parsed_function_; } |
286 const GrowableArray<BlockEntryInstr*>& block_order() const { | 287 const GrowableArray<BlockEntryInstr*>& block_order() const { |
287 return block_order_; | 288 return block_order_; |
288 } | 289 } |
289 | 290 |
290 const FlowGraph& flow_graph() const { return flow_graph_; } | 291 const FlowGraph& flow_graph() const { return flow_graph_; } |
291 | 292 |
(...skipping 418 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
710 const Array* inlined_code_intervals_; | 711 const Array* inlined_code_intervals_; |
711 const GrowableArray<const Function*>& inline_id_to_function_; | 712 const GrowableArray<const Function*>& inline_id_to_function_; |
712 const GrowableArray<intptr_t>& caller_inline_id_; | 713 const GrowableArray<intptr_t>& caller_inline_id_; |
713 | 714 |
714 DISALLOW_COPY_AND_ASSIGN(FlowGraphCompiler); | 715 DISALLOW_COPY_AND_ASSIGN(FlowGraphCompiler); |
715 }; | 716 }; |
716 | 717 |
717 } // namespace dart | 718 } // namespace dart |
718 | 719 |
719 #endif // VM_FLOW_GRAPH_COMPILER_H_ | 720 #endif // VM_FLOW_GRAPH_COMPILER_H_ |
OLD | NEW |