| 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_H_ | 5 #ifndef VM_FLOW_GRAPH_COMPILER_H_ |
| 6 #define VM_FLOW_GRAPH_COMPILER_H_ | 6 #define VM_FLOW_GRAPH_COMPILER_H_ |
| 7 | 7 |
| 8 #include "vm/allocation.h" | 8 #include "vm/allocation.h" |
| 9 #include "vm/assembler.h" | 9 #include "vm/assembler.h" |
| 10 #include "vm/code_descriptors.h" | 10 #include "vm/code_descriptors.h" |
| (...skipping 315 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 326 const AbstractType& type, | 326 const AbstractType& type, |
| 327 Label* is_instance_lbl, | 327 Label* is_instance_lbl, |
| 328 Label* is_not_instance_lbl); | 328 Label* is_not_instance_lbl); |
| 329 void GenerateStringTypeCheck(Register kClassIdReg, | 329 void GenerateStringTypeCheck(Register kClassIdReg, |
| 330 Label* is_instance_lbl, | 330 Label* is_instance_lbl, |
| 331 Label* is_not_instance_lbl); | 331 Label* is_not_instance_lbl); |
| 332 void GenerateListTypeCheck(Register kClassIdReg, | 332 void GenerateListTypeCheck(Register kClassIdReg, |
| 333 Label* is_instance_lbl); | 333 Label* is_instance_lbl); |
| 334 | 334 |
| 335 void EmitComment(Instruction* instr); | 335 void EmitComment(Instruction* instr); |
| 336 void EmitInstruction(Instruction* instr); |
| 336 | 337 |
| 337 void EmitOptimizedInstanceCall(ExternalLabel* target_label, | 338 void EmitOptimizedInstanceCall(ExternalLabel* target_label, |
| 338 const ICData& ic_data, | 339 const ICData& ic_data, |
| 339 const Array& arguments_descriptor, | 340 const Array& arguments_descriptor, |
| 340 intptr_t argument_count, | 341 intptr_t argument_count, |
| 341 intptr_t deopt_id, | 342 intptr_t deopt_id, |
| 342 intptr_t token_pos, | 343 intptr_t token_pos, |
| 343 LocationSummary* locs); | 344 LocationSummary* locs); |
| 344 | 345 |
| 345 void EmitInstanceCall(ExternalLabel* target_label, | 346 void EmitInstanceCall(ExternalLabel* target_label, |
| (...skipping 246 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 592 // that should be used when deoptimizing we store it in this variable. | 593 // that should be used when deoptimizing we store it in this variable. |
| 593 // In future AddDeoptStub should be moved out of the instruction template. | 594 // In future AddDeoptStub should be moved out of the instruction template. |
| 594 Environment* pending_deoptimization_env_; | 595 Environment* pending_deoptimization_env_; |
| 595 | 596 |
| 596 DISALLOW_COPY_AND_ASSIGN(FlowGraphCompiler); | 597 DISALLOW_COPY_AND_ASSIGN(FlowGraphCompiler); |
| 597 }; | 598 }; |
| 598 | 599 |
| 599 } // namespace dart | 600 } // namespace dart |
| 600 | 601 |
| 601 #endif // VM_FLOW_GRAPH_COMPILER_H_ | 602 #endif // VM_FLOW_GRAPH_COMPILER_H_ |
| OLD | NEW |