| 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 103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 114 Label* is_instance_lbl, | 114 Label* is_instance_lbl, |
| 115 Label* is_not_instance_lbl); | 115 Label* is_not_instance_lbl); |
| 116 void GenerateStringTypeCheck(Register kClassIdReg, | 116 void GenerateStringTypeCheck(Register kClassIdReg, |
| 117 Label* is_instance_lbl, | 117 Label* is_instance_lbl, |
| 118 Label* is_not_instance_lbl); | 118 Label* is_not_instance_lbl); |
| 119 void GenerateListTypeCheck(Register kClassIdReg, | 119 void GenerateListTypeCheck(Register kClassIdReg, |
| 120 Label* is_instance_lbl); | 120 Label* is_instance_lbl); |
| 121 | 121 |
| 122 void EmitComment(Instruction* instr); | 122 void EmitComment(Instruction* instr); |
| 123 | 123 |
| 124 void EmitClassChecksNoSmi(const ZoneGrowableArray<intptr_t>& class_ids, | 124 void EmitClassChecksNoSmi(const ICData& ic_data, |
| 125 Register instance_reg, | 125 Register instance_reg, |
| 126 Register temp_reg, | 126 Register temp_reg, |
| 127 Label* deopt); | 127 Label* deopt); |
| 128 | 128 |
| 129 // Returns pc-offset (in bytes) of the pc after the call, can be used to emit | 129 // Returns pc-offset (in bytes) of the pc after the call, can be used to emit |
| 130 // pc-descriptor information. | 130 // pc-descriptor information. |
| 131 intptr_t EmitInstanceCall(ExternalLabel* target_label, | 131 intptr_t EmitInstanceCall(ExternalLabel* target_label, |
| 132 const ICData& ic_data, | 132 const ICData& ic_data, |
| 133 const Array& arguments_descriptor, | 133 const Array& arguments_descriptor, |
| 134 intptr_t argument_count); | 134 intptr_t argument_count); |
| (...skipping 171 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 306 const DeoptReasonId reason_; | 306 const DeoptReasonId reason_; |
| 307 GrowableArray<Register> registers_; | 307 GrowableArray<Register> registers_; |
| 308 Label entry_label_; | 308 Label entry_label_; |
| 309 | 309 |
| 310 DISALLOW_COPY_AND_ASSIGN(DeoptimizationStub); | 310 DISALLOW_COPY_AND_ASSIGN(DeoptimizationStub); |
| 311 }; | 311 }; |
| 312 | 312 |
| 313 } // namespace dart | 313 } // namespace dart |
| 314 | 314 |
| 315 #endif // VM_FLOW_GRAPH_COMPILER_X64_H_ | 315 #endif // VM_FLOW_GRAPH_COMPILER_X64_H_ |
| OLD | NEW |