| 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 293 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 304 const GrowableArray<const Function*>& inline_id_to_function, | 304 const GrowableArray<const Function*>& inline_id_to_function, |
| 305 const GrowableArray<intptr_t>& caller_inline_id); | 305 const GrowableArray<intptr_t>& caller_inline_id); |
| 306 | 306 |
| 307 ~FlowGraphCompiler(); | 307 ~FlowGraphCompiler(); |
| 308 | 308 |
| 309 static bool SupportsUnboxedDoubles(); | 309 static bool SupportsUnboxedDoubles(); |
| 310 static bool SupportsUnboxedMints(); | 310 static bool SupportsUnboxedMints(); |
| 311 static bool SupportsSinCos(); | 311 static bool SupportsSinCos(); |
| 312 static bool SupportsUnboxedSimd128(); | 312 static bool SupportsUnboxedSimd128(); |
| 313 static bool SupportsHardwareDivision(); | 313 static bool SupportsHardwareDivision(); |
| 314 static bool CanConvertUnboxedMintToDouble(); |
| 314 | 315 |
| 315 static bool IsUnboxedField(const Field& field); | 316 static bool IsUnboxedField(const Field& field); |
| 316 static bool IsPotentialUnboxedField(const Field& field); | 317 static bool IsPotentialUnboxedField(const Field& field); |
| 317 | 318 |
| 318 // Accessors. | 319 // Accessors. |
| 319 Assembler* assembler() const { return assembler_; } | 320 Assembler* assembler() const { return assembler_; } |
| 320 const ParsedFunction& parsed_function() const { return parsed_function_; } | 321 const ParsedFunction& parsed_function() const { return parsed_function_; } |
| 321 const GrowableArray<BlockEntryInstr*>& block_order() const { | 322 const GrowableArray<BlockEntryInstr*>& block_order() const { |
| 322 return block_order_; | 323 return block_order_; |
| 323 } | 324 } |
| (...skipping 457 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 781 Array& inlined_code_intervals_; | 782 Array& inlined_code_intervals_; |
| 782 const GrowableArray<const Function*>& inline_id_to_function_; | 783 const GrowableArray<const Function*>& inline_id_to_function_; |
| 783 const GrowableArray<intptr_t>& caller_inline_id_; | 784 const GrowableArray<intptr_t>& caller_inline_id_; |
| 784 | 785 |
| 785 DISALLOW_COPY_AND_ASSIGN(FlowGraphCompiler); | 786 DISALLOW_COPY_AND_ASSIGN(FlowGraphCompiler); |
| 786 }; | 787 }; |
| 787 | 788 |
| 788 } // namespace dart | 789 } // namespace dart |
| 789 | 790 |
| 790 #endif // VM_FLOW_GRAPH_COMPILER_H_ | 791 #endif // VM_FLOW_GRAPH_COMPILER_H_ |
| OLD | NEW |