| 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 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 103 const AbstractType& dst_type, | 103 const AbstractType& dst_type, |
| 104 const String& dst_name); | 104 const String& dst_name); |
| 105 | 105 |
| 106 void GenerateInstanceOf(intptr_t node_id, | 106 void GenerateInstanceOf(intptr_t node_id, |
| 107 intptr_t token_index, | 107 intptr_t token_index, |
| 108 intptr_t try_index, | 108 intptr_t try_index, |
| 109 Value* value, | 109 Value* value, |
| 110 const AbstractType& type, | 110 const AbstractType& type, |
| 111 bool negate_result); | 111 bool negate_result); |
| 112 | 112 |
| 113 void GenerateInstantiatorTypeArguments(intptr_t token_index); | |
| 114 | |
| 115 void CopyParameters(); | 113 void CopyParameters(); |
| 116 | 114 |
| 117 intptr_t StackSize() const; | 115 intptr_t StackSize() const; |
| 118 | 116 |
| 119 Assembler* assembler_; | 117 Assembler* assembler_; |
| 120 const ParsedFunction& parsed_function_; | 118 const ParsedFunction& parsed_function_; |
| 121 | 119 |
| 122 // Compiler specific per-block state. Indexed by postorder block number | 120 // Compiler specific per-block state. Indexed by postorder block number |
| 123 // for convenience. This is not the block's index in the block order, | 121 // for convenience. This is not the block's index in the block order, |
| 124 // which is reverse postorder. | 122 // which is reverse postorder. |
| 125 GrowableArray<BlockInfo*> block_info_; | 123 GrowableArray<BlockInfo*> block_info_; |
| 126 BlockEntryInstr* current_block_; | 124 BlockEntryInstr* current_block_; |
| 127 DescriptorList* pc_descriptors_list_; | 125 DescriptorList* pc_descriptors_list_; |
| 128 ExceptionHandlerList* exception_handlers_list_; | 126 ExceptionHandlerList* exception_handlers_list_; |
| 129 | 127 |
| 130 DISALLOW_COPY_AND_ASSIGN(FlowGraphCompiler); | 128 DISALLOW_COPY_AND_ASSIGN(FlowGraphCompiler); |
| 131 }; | 129 }; |
| 132 | 130 |
| 133 } // namespace dart | 131 } // namespace dart |
| 134 | 132 |
| 135 #endif // VM_FLOW_GRAPH_COMPILER_X64_H_ | 133 #endif // VM_FLOW_GRAPH_COMPILER_X64_H_ |
| OLD | NEW |