| 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 RUNTIME_VM_FLOW_GRAPH_COMPILER_H_ | 5 #ifndef RUNTIME_VM_FLOW_GRAPH_COMPILER_H_ |
| 6 #define RUNTIME_VM_FLOW_GRAPH_COMPILER_H_ | 6 #define RUNTIME_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 274 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 285 const ParsedFunction& parsed_function, | 285 const ParsedFunction& parsed_function, |
| 286 bool is_optimizing, | 286 bool is_optimizing, |
| 287 const GrowableArray<const Function*>& inline_id_to_function, | 287 const GrowableArray<const Function*>& inline_id_to_function, |
| 288 const GrowableArray<TokenPosition>& inline_id_to_token_pos, | 288 const GrowableArray<TokenPosition>& inline_id_to_token_pos, |
| 289 const GrowableArray<intptr_t>& caller_inline_id); | 289 const GrowableArray<intptr_t>& caller_inline_id); |
| 290 | 290 |
| 291 ~FlowGraphCompiler(); | 291 ~FlowGraphCompiler(); |
| 292 | 292 |
| 293 static bool SupportsUnboxedDoubles(); | 293 static bool SupportsUnboxedDoubles(); |
| 294 static bool SupportsUnboxedMints(); | 294 static bool SupportsUnboxedMints(); |
| 295 static bool SupportsSinCos(); | |
| 296 static bool SupportsUnboxedSimd128(); | 295 static bool SupportsUnboxedSimd128(); |
| 297 static bool SupportsHardwareDivision(); | 296 static bool SupportsHardwareDivision(); |
| 298 static bool CanConvertUnboxedMintToDouble(); | 297 static bool CanConvertUnboxedMintToDouble(); |
| 299 | 298 |
| 300 static bool IsUnboxedField(const Field& field); | 299 static bool IsUnboxedField(const Field& field); |
| 301 static bool IsPotentialUnboxedField(const Field& field); | 300 static bool IsPotentialUnboxedField(const Field& field); |
| 302 | 301 |
| 303 // Accessors. | 302 // Accessors. |
| 304 Assembler* assembler() const { return assembler_; } | 303 Assembler* assembler() const { return assembler_; } |
| 305 const ParsedFunction& parsed_function() const { return parsed_function_; } | 304 const ParsedFunction& parsed_function() const { return parsed_function_; } |
| (...skipping 509 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 815 const GrowableArray<const Function*>& inline_id_to_function_; | 814 const GrowableArray<const Function*>& inline_id_to_function_; |
| 816 const GrowableArray<TokenPosition>& inline_id_to_token_pos_; | 815 const GrowableArray<TokenPosition>& inline_id_to_token_pos_; |
| 817 const GrowableArray<intptr_t>& caller_inline_id_; | 816 const GrowableArray<intptr_t>& caller_inline_id_; |
| 818 | 817 |
| 819 DISALLOW_COPY_AND_ASSIGN(FlowGraphCompiler); | 818 DISALLOW_COPY_AND_ASSIGN(FlowGraphCompiler); |
| 820 }; | 819 }; |
| 821 | 820 |
| 822 } // namespace dart | 821 } // namespace dart |
| 823 | 822 |
| 824 #endif // RUNTIME_VM_FLOW_GRAPH_COMPILER_H_ | 823 #endif // RUNTIME_VM_FLOW_GRAPH_COMPILER_H_ |
| OLD | NEW |