| 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 276 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 287 class Assembler* assembler_; | 287 class Assembler* assembler_; |
| 288 const ParsedFunction& parsed_function_; | 288 const ParsedFunction& parsed_function_; |
| 289 const GrowableArray<BlockEntryInstr*>& block_order_; | 289 const GrowableArray<BlockEntryInstr*>& block_order_; |
| 290 | 290 |
| 291 // Compiler specific per-block state. Indexed by postorder block number | 291 // Compiler specific per-block state. Indexed by postorder block number |
| 292 // for convenience. This is not the block's index in the block order, | 292 // for convenience. This is not the block's index in the block order, |
| 293 // which is reverse postorder. | 293 // which is reverse postorder. |
| 294 BlockEntryInstr* current_block_; | 294 BlockEntryInstr* current_block_; |
| 295 ExceptionHandlerList* exception_handlers_list_; | 295 ExceptionHandlerList* exception_handlers_list_; |
| 296 DescriptorList* pc_descriptors_list_; | 296 DescriptorList* pc_descriptors_list_; |
| 297 StackmapBuilder* stackmap_builder_; | 297 StackmapTableBuilder* stackmap_table_builder_; |
| 298 GrowableArray<BlockInfo*> block_info_; | 298 GrowableArray<BlockInfo*> block_info_; |
| 299 GrowableArray<DeoptimizationStub*> deopt_stubs_; | 299 GrowableArray<DeoptimizationStub*> deopt_stubs_; |
| 300 const bool is_optimizing_; | 300 const bool is_optimizing_; |
| 301 const bool is_ssa_; | 301 const bool is_ssa_; |
| 302 const bool is_dart_leaf_; | 302 const bool is_dart_leaf_; |
| 303 | 303 |
| 304 const Bool& bool_true_; | 304 const Bool& bool_true_; |
| 305 const Bool& bool_false_; | 305 const Bool& bool_false_; |
| 306 const Class& double_class_; | 306 const Class& double_class_; |
| 307 | 307 |
| 308 FrameRegisterAllocator frame_register_allocator_; | 308 FrameRegisterAllocator frame_register_allocator_; |
| 309 ParallelMoveResolver parallel_move_resolver_; | 309 ParallelMoveResolver parallel_move_resolver_; |
| 310 | 310 |
| 311 // Currently instructions generate deopt stubs internally by | 311 // Currently instructions generate deopt stubs internally by |
| 312 // calling AddDeoptStub. To communicate deoptimization environment | 312 // calling AddDeoptStub. To communicate deoptimization environment |
| 313 // that should be used when deoptimizing we store it in this variable. | 313 // that should be used when deoptimizing we store it in this variable. |
| 314 // In future AddDeoptStub should be moved out of the instruction template. | 314 // In future AddDeoptStub should be moved out of the instruction template. |
| 315 Environment* pending_deoptimization_env_; | 315 Environment* pending_deoptimization_env_; |
| 316 | 316 |
| 317 DISALLOW_COPY_AND_ASSIGN(FlowGraphCompiler); | 317 DISALLOW_COPY_AND_ASSIGN(FlowGraphCompiler); |
| 318 }; | 318 }; |
| 319 | 319 |
| 320 } // namespace dart | 320 } // namespace dart |
| 321 | 321 |
| 322 #endif // VM_FLOW_GRAPH_COMPILER_X64_H_ | 322 #endif // VM_FLOW_GRAPH_COMPILER_X64_H_ |
| OLD | NEW |