| 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_IA32_H_ | 5 #ifndef VM_FLOW_GRAPH_COMPILER_IA32_H_ |
| 6 #define VM_FLOW_GRAPH_COMPILER_IA32_H_ | 6 #define VM_FLOW_GRAPH_COMPILER_IA32_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_ia32.h. | 9 #error Include flow_graph_compiler.h instead of flow_graph_compiler_ia32.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 static bool SupportsUnboxedMints(); |
| 36 |
| 35 // Accessors. | 37 // Accessors. |
| 36 Assembler* assembler() const { return assembler_; } | 38 Assembler* assembler() const { return assembler_; } |
| 37 const ParsedFunction& parsed_function() const { return parsed_function_; } | 39 const ParsedFunction& parsed_function() const { return parsed_function_; } |
| 38 const GrowableArray<BlockEntryInstr*>& block_order() const { | 40 const GrowableArray<BlockEntryInstr*>& block_order() const { |
| 39 return block_order_; | 41 return block_order_; |
| 40 } | 42 } |
| 41 DescriptorList* pc_descriptors_list() const { | 43 DescriptorList* pc_descriptors_list() const { |
| 42 return pc_descriptors_list_; | 44 return pc_descriptors_list_; |
| 43 } | 45 } |
| 44 const GrowableObjectArray& object_table() { | 46 const GrowableObjectArray& object_table() { |
| (...skipping 276 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 321 // that should be used when deoptimizing we store it in this variable. | 323 // that should be used when deoptimizing we store it in this variable. |
| 322 // In future AddDeoptStub should be moved out of the instruction template. | 324 // In future AddDeoptStub should be moved out of the instruction template. |
| 323 Environment* pending_deoptimization_env_; | 325 Environment* pending_deoptimization_env_; |
| 324 | 326 |
| 325 DISALLOW_COPY_AND_ASSIGN(FlowGraphCompiler); | 327 DISALLOW_COPY_AND_ASSIGN(FlowGraphCompiler); |
| 326 }; | 328 }; |
| 327 | 329 |
| 328 } // namespace dart | 330 } // namespace dart |
| 329 | 331 |
| 330 #endif // VM_FLOW_GRAPH_COMPILER_IA32_H_ | 332 #endif // VM_FLOW_GRAPH_COMPILER_IA32_H_ |
| OLD | NEW |