| 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 253 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 264 FlowGraph* flow_graph, | 264 FlowGraph* flow_graph, |
| 265 bool is_optimizing); | 265 bool is_optimizing); |
| 266 | 266 |
| 267 ~FlowGraphCompiler(); | 267 ~FlowGraphCompiler(); |
| 268 | 268 |
| 269 static bool SupportsUnboxedDoubles(); | 269 static bool SupportsUnboxedDoubles(); |
| 270 static bool SupportsUnboxedMints(); | 270 static bool SupportsUnboxedMints(); |
| 271 static bool SupportsSinCos(); | 271 static bool SupportsSinCos(); |
| 272 static bool SupportsUnboxedSimd128(); | 272 static bool SupportsUnboxedSimd128(); |
| 273 | 273 |
| 274 static intptr_t PlatformBlockedRegisterMask(); |
| 275 |
| 274 // Accessors. | 276 // Accessors. |
| 275 Assembler* assembler() const { return assembler_; } | 277 Assembler* assembler() const { return assembler_; } |
| 276 const ParsedFunction& parsed_function() const { return parsed_function_; } | 278 const ParsedFunction& parsed_function() const { return parsed_function_; } |
| 277 const GrowableArray<BlockEntryInstr*>& block_order() const { | 279 const GrowableArray<BlockEntryInstr*>& block_order() const { |
| 278 return block_order_; | 280 return block_order_; |
| 279 } | 281 } |
| 280 | 282 |
| 281 const FlowGraph& flow_graph() const { return flow_graph_; } | 283 const FlowGraph& flow_graph() const { return flow_graph_; } |
| 282 | 284 |
| 283 DescriptorList* pc_descriptors_list() const { | 285 DescriptorList* pc_descriptors_list() const { |
| (...skipping 357 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 641 intptr_t lazy_deopt_pc_offset_; | 643 intptr_t lazy_deopt_pc_offset_; |
| 642 | 644 |
| 643 ZoneGrowableArray<const ICData*>* deopt_id_to_ic_data_; | 645 ZoneGrowableArray<const ICData*>* deopt_id_to_ic_data_; |
| 644 | 646 |
| 645 DISALLOW_COPY_AND_ASSIGN(FlowGraphCompiler); | 647 DISALLOW_COPY_AND_ASSIGN(FlowGraphCompiler); |
| 646 }; | 648 }; |
| 647 | 649 |
| 648 } // namespace dart | 650 } // namespace dart |
| 649 | 651 |
| 650 #endif // VM_FLOW_GRAPH_COMPILER_H_ | 652 #endif // VM_FLOW_GRAPH_COMPILER_H_ |
| OLD | NEW |