| 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 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 91 PcDescriptors::Kind kind); | 91 PcDescriptors::Kind kind); |
| 92 void GenerateCallRuntime(intptr_t node_id, | 92 void GenerateCallRuntime(intptr_t node_id, |
| 93 intptr_t token_index, | 93 intptr_t token_index, |
| 94 intptr_t try_index, | 94 intptr_t try_index, |
| 95 const RuntimeEntry& entry); | 95 const RuntimeEntry& entry); |
| 96 void AddCurrentDescriptor(PcDescriptors::Kind kind, | 96 void AddCurrentDescriptor(PcDescriptors::Kind kind, |
| 97 intptr_t node_id, | 97 intptr_t node_id, |
| 98 intptr_t token_index, | 98 intptr_t token_index, |
| 99 intptr_t try_index); | 99 intptr_t try_index); |
| 100 | 100 |
| 101 void GenerateInlineInstanceof(const AbstractType& type, |
| 102 Label* is_instance, |
| 103 Label* is_not_instance); |
| 104 |
| 101 void GenerateAssertAssignable(intptr_t node_id, | 105 void GenerateAssertAssignable(intptr_t node_id, |
| 102 intptr_t token_index, | 106 intptr_t token_index, |
| 107 intptr_t try_index, |
| 108 Value* value, |
| 103 const AbstractType& dst_type, | 109 const AbstractType& dst_type, |
| 104 const String& dst_name); | 110 const String& dst_name); |
| 105 | 111 |
| 106 void GenerateInstanceOf(intptr_t node_id, | 112 void GenerateInstanceOf(intptr_t node_id, |
| 107 intptr_t token_index, | 113 intptr_t token_index, |
| 108 intptr_t try_index, | 114 intptr_t try_index, |
| 109 Value* value, | 115 Value* value, |
| 110 const AbstractType& type, | 116 const AbstractType& type, |
| 111 bool negate_result); | 117 bool negate_result); |
| 112 | 118 |
| (...skipping 11 matching lines...) Expand all Loading... |
| 124 BlockEntryInstr* current_block_; | 130 BlockEntryInstr* current_block_; |
| 125 DescriptorList* pc_descriptors_list_; | 131 DescriptorList* pc_descriptors_list_; |
| 126 ExceptionHandlerList* exception_handlers_list_; | 132 ExceptionHandlerList* exception_handlers_list_; |
| 127 | 133 |
| 128 DISALLOW_COPY_AND_ASSIGN(FlowGraphCompiler); | 134 DISALLOW_COPY_AND_ASSIGN(FlowGraphCompiler); |
| 129 }; | 135 }; |
| 130 | 136 |
| 131 } // namespace dart | 137 } // namespace dart |
| 132 | 138 |
| 133 #endif // VM_FLOW_GRAPH_COMPILER_X64_H_ | 139 #endif // VM_FLOW_GRAPH_COMPILER_X64_H_ |
| OLD | NEW |