| 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_X64_H_ | 5 #ifndef VM_FLOW_GRAPH_COMPILER_X64_H_ |
| 6 #define VM_FLOW_GRAPH_COMPILER_X64_H_ | 6 #define VM_FLOW_GRAPH_COMPILER_X64_H_ |
| 7 | 7 |
| 8 #ifndef VM_FLOW_GRAPH_COMPILER_H_ | 8 #ifndef VM_FLOW_GRAPH_COMPILER_H_ |
| 9 #error Include flow_graph_compiler.h instead of flow_graph_compiler_x64.h. | 9 #error Include flow_graph_compiler.h instead of flow_graph_compiler_x64.h. |
| 10 #endif | 10 #endif |
| (...skipping 14 matching lines...) Expand all Loading... |
| 25 }; | 25 }; |
| 26 | 26 |
| 27 public: | 27 public: |
| 28 FlowGraphCompiler(Assembler* assembler, | 28 FlowGraphCompiler(Assembler* assembler, |
| 29 const FlowGraph& flow_graph, | 29 const FlowGraph& flow_graph, |
| 30 bool is_optimizing, | 30 bool is_optimizing, |
| 31 bool is_leaf); | 31 bool is_leaf); |
| 32 | 32 |
| 33 ~FlowGraphCompiler(); | 33 ~FlowGraphCompiler(); |
| 34 | 34 |
| 35 // x64 does not support unboxed mints. |
| 36 static bool SupportsUnboxedMints() { return false; } |
| 37 |
| 35 // Accessors. | 38 // Accessors. |
| 36 Assembler* assembler() const { return assembler_; } | 39 Assembler* assembler() const { return assembler_; } |
| 37 const ParsedFunction& parsed_function() const { return parsed_function_; } | 40 const ParsedFunction& parsed_function() const { return parsed_function_; } |
| 38 const GrowableArray<BlockEntryInstr*>& block_order() const { | 41 const GrowableArray<BlockEntryInstr*>& block_order() const { |
| 39 return block_order_; | 42 return block_order_; |
| 40 } | 43 } |
| 41 DescriptorList* pc_descriptors_list() const { | 44 DescriptorList* pc_descriptors_list() const { |
| 42 return pc_descriptors_list_; | 45 return pc_descriptors_list_; |
| 43 } | 46 } |
| 44 const GrowableObjectArray& object_table() { | 47 const GrowableObjectArray& object_table() { |
| (...skipping 274 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 319 // that should be used when deoptimizing we store it in this variable. | 322 // that should be used when deoptimizing we store it in this variable. |
| 320 // In future AddDeoptStub should be moved out of the instruction template. | 323 // In future AddDeoptStub should be moved out of the instruction template. |
| 321 Environment* pending_deoptimization_env_; | 324 Environment* pending_deoptimization_env_; |
| 322 | 325 |
| 323 DISALLOW_COPY_AND_ASSIGN(FlowGraphCompiler); | 326 DISALLOW_COPY_AND_ASSIGN(FlowGraphCompiler); |
| 324 }; | 327 }; |
| 325 | 328 |
| 326 } // namespace dart | 329 } // namespace dart |
| 327 | 330 |
| 328 #endif // VM_FLOW_GRAPH_COMPILER_X64_H_ | 331 #endif // VM_FLOW_GRAPH_COMPILER_X64_H_ |
| OLD | NEW |