| 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 116 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 127 | 127 |
| 128 // Returns pc-offset (in bytes) of the pc after the call, can be used to emit | 128 // Returns pc-offset (in bytes) of the pc after the call, can be used to emit |
| 129 // pc-descriptor information. | 129 // pc-descriptor information. |
| 130 intptr_t EmitInstanceCall(ExternalLabel* target_label, | 130 intptr_t EmitInstanceCall(ExternalLabel* target_label, |
| 131 const ICData& ic_data, | 131 const ICData& ic_data, |
| 132 const Array& arguments_descriptor, | 132 const Array& arguments_descriptor, |
| 133 intptr_t argument_count); | 133 intptr_t argument_count); |
| 134 | 134 |
| 135 void EmitComment(Instruction* instr); | 135 void EmitComment(Instruction* instr); |
| 136 | 136 |
| 137 void EmitClassChecksNoSmi(const ZoneGrowableArray<intptr_t>& class_ids, |
| 138 Register instance_reg, |
| 139 Register temp_reg, |
| 140 Label* deopt); |
| 141 |
| 137 intptr_t StackSize() const; | 142 intptr_t StackSize() const; |
| 138 | 143 |
| 139 // Returns assembler label associated with the given block entry. | 144 // Returns assembler label associated with the given block entry. |
| 140 Label* GetBlockLabel(BlockEntryInstr* block_entry) const; | 145 Label* GetBlockLabel(BlockEntryInstr* block_entry) const; |
| 141 | 146 |
| 142 // Returns true if the next block after current in the current block order | 147 // Returns true if the next block after current in the current block order |
| 143 // is the given block. | 148 // is the given block. |
| 144 bool IsNextBlock(TargetEntryInstr* block_entry) const; | 149 bool IsNextBlock(TargetEntryInstr* block_entry) const; |
| 145 | 150 |
| 146 void AddExceptionHandler(intptr_t try_index, intptr_t pc_offset); | 151 void AddExceptionHandler(intptr_t try_index, intptr_t pc_offset); |
| (...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 281 GrowableArray<Register> registers_; | 286 GrowableArray<Register> registers_; |
| 282 Label entry_label_; | 287 Label entry_label_; |
| 283 | 288 |
| 284 DISALLOW_COPY_AND_ASSIGN(DeoptimizationStub); | 289 DISALLOW_COPY_AND_ASSIGN(DeoptimizationStub); |
| 285 }; | 290 }; |
| 286 | 291 |
| 287 | 292 |
| 288 } // namespace dart | 293 } // namespace dart |
| 289 | 294 |
| 290 #endif // VM_FLOW_GRAPH_COMPILER_IA32_H_ | 295 #endif // VM_FLOW_GRAPH_COMPILER_IA32_H_ |
| OLD | NEW |