| 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 110 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 121 Label* is_instance_lbl, | 121 Label* is_instance_lbl, |
| 122 Label* is_not_instance_lbl); | 122 Label* is_not_instance_lbl); |
| 123 void GenerateStringTypeCheck(Register kClassIdReg, | 123 void GenerateStringTypeCheck(Register kClassIdReg, |
| 124 Label* is_instance_lbl, | 124 Label* is_instance_lbl, |
| 125 Label* is_not_instance_lbl); | 125 Label* is_not_instance_lbl); |
| 126 void GenerateListTypeCheck(Register kClassIdReg, | 126 void GenerateListTypeCheck(Register kClassIdReg, |
| 127 Label* is_instance_lbl); | 127 Label* is_instance_lbl); |
| 128 | 128 |
| 129 void EmitComment(Instruction* instr); | 129 void EmitComment(Instruction* instr); |
| 130 | 130 |
| 131 void EmitClassChecksNoSmi(const ICData& ic_data, | |
| 132 Register instance_reg, | |
| 133 Register temp_reg, | |
| 134 Label* deopt); | |
| 135 | |
| 136 void EmitInstanceCall(ExternalLabel* target_label, | 131 void EmitInstanceCall(ExternalLabel* target_label, |
| 137 const ICData& ic_data, | 132 const ICData& ic_data, |
| 138 const Array& arguments_descriptor, | 133 const Array& arguments_descriptor, |
| 139 intptr_t argument_count, | 134 intptr_t argument_count, |
| 140 intptr_t deopt_id, | 135 intptr_t deopt_id, |
| 141 intptr_t token_pos, | 136 intptr_t token_pos, |
| 142 LocationSummary* locs); | 137 LocationSummary* locs); |
| 143 | 138 |
| 144 void EmitLoadIndexedGeneric(LoadIndexedComp* comp); | 139 void EmitLoadIndexedGeneric(LoadIndexedComp* comp); |
| 145 void EmitTestAndCall(const ICData& ic_data, | 140 void EmitTestAndCall(const ICData& ic_data, |
| (...skipping 176 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 322 // that should be used when deoptimizing we store it in this variable. | 317 // that should be used when deoptimizing we store it in this variable. |
| 323 // In future AddDeoptStub should be moved out of the instruction template. | 318 // In future AddDeoptStub should be moved out of the instruction template. |
| 324 Environment* pending_deoptimization_env_; | 319 Environment* pending_deoptimization_env_; |
| 325 | 320 |
| 326 DISALLOW_COPY_AND_ASSIGN(FlowGraphCompiler); | 321 DISALLOW_COPY_AND_ASSIGN(FlowGraphCompiler); |
| 327 }; | 322 }; |
| 328 | 323 |
| 329 } // namespace dart | 324 } // namespace dart |
| 330 | 325 |
| 331 #endif // VM_FLOW_GRAPH_COMPILER_IA32_H_ | 326 #endif // VM_FLOW_GRAPH_COMPILER_IA32_H_ |
| OLD | NEW |