| 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 353 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 364 | 364 |
| 365 void EmitTestAndCall(const ICData& ic_data, | 365 void EmitTestAndCall(const ICData& ic_data, |
| 366 Register class_id_reg, | 366 Register class_id_reg, |
| 367 intptr_t arg_count, | 367 intptr_t arg_count, |
| 368 const Array& arg_names, | 368 const Array& arg_names, |
| 369 Label* deopt, | 369 Label* deopt, |
| 370 intptr_t deopt_id, | 370 intptr_t deopt_id, |
| 371 intptr_t token_index, | 371 intptr_t token_index, |
| 372 LocationSummary* locs); | 372 LocationSummary* locs); |
| 373 | 373 |
| 374 void EmitDoubleCompareBranch(Condition true_condition, | |
| 375 FpuRegister left, | |
| 376 FpuRegister right, | |
| 377 BranchInstr* branch); | |
| 378 void EmitDoubleCompareBool(Condition true_condition, | |
| 379 FpuRegister left, | |
| 380 FpuRegister right, | |
| 381 Register result); | |
| 382 | |
| 383 void EmitEqualityRegConstCompare(Register reg, | 374 void EmitEqualityRegConstCompare(Register reg, |
| 384 const Object& obj, | 375 const Object& obj, |
| 385 bool needs_number_check, | 376 bool needs_number_check, |
| 386 intptr_t token_pos); | 377 intptr_t token_pos); |
| 387 void EmitEqualityRegRegCompare(Register left, | 378 void EmitEqualityRegRegCompare(Register left, |
| 388 Register right, | 379 Register right, |
| 389 bool needs_number_check, | 380 bool needs_number_check, |
| 390 intptr_t token_pos); | 381 intptr_t token_pos); |
| 391 | 382 |
| 392 void EmitTrySync(Instruction* instr, intptr_t try_index); | 383 void EmitTrySync(Instruction* instr, intptr_t try_index); |
| (...skipping 215 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 608 // that should be used when deoptimizing we store it in this variable. | 599 // that should be used when deoptimizing we store it in this variable. |
| 609 // In future AddDeoptStub should be moved out of the instruction template. | 600 // In future AddDeoptStub should be moved out of the instruction template. |
| 610 Environment* pending_deoptimization_env_; | 601 Environment* pending_deoptimization_env_; |
| 611 | 602 |
| 612 DISALLOW_COPY_AND_ASSIGN(FlowGraphCompiler); | 603 DISALLOW_COPY_AND_ASSIGN(FlowGraphCompiler); |
| 613 }; | 604 }; |
| 614 | 605 |
| 615 } // namespace dart | 606 } // namespace dart |
| 616 | 607 |
| 617 #endif // VM_FLOW_GRAPH_COMPILER_H_ | 608 #endif // VM_FLOW_GRAPH_COMPILER_H_ |
| OLD | NEW |