| 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 399 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 410 | 410 |
| 411 void EmitTestAndCall(const ICData& ic_data, | 411 void EmitTestAndCall(const ICData& ic_data, |
| 412 Register class_id_reg, | 412 Register class_id_reg, |
| 413 intptr_t arg_count, | 413 intptr_t arg_count, |
| 414 const Array& arg_names, | 414 const Array& arg_names, |
| 415 Label* deopt, | 415 Label* deopt, |
| 416 intptr_t deopt_id, | 416 intptr_t deopt_id, |
| 417 intptr_t token_index, | 417 intptr_t token_index, |
| 418 LocationSummary* locs); | 418 LocationSummary* locs); |
| 419 | 419 |
| 420 void EmitEqualityRegConstCompare(Register reg, | 420 Condition EmitEqualityRegConstCompare(Register reg, |
| 421 const Object& obj, | 421 const Object& obj, |
| 422 bool needs_number_check, | 422 bool needs_number_check, |
| 423 intptr_t token_pos); | 423 intptr_t token_pos); |
| 424 void EmitEqualityRegRegCompare(Register left, | 424 Condition EmitEqualityRegRegCompare(Register left, |
| 425 Register right, | 425 Register right, |
| 426 bool needs_number_check, | 426 bool needs_number_check, |
| 427 intptr_t token_pos); | 427 intptr_t token_pos); |
| 428 | 428 |
| 429 void EmitTrySync(Instruction* instr, intptr_t try_index); | 429 void EmitTrySync(Instruction* instr, intptr_t try_index); |
| 430 | 430 |
| 431 intptr_t StackSize() const; | 431 intptr_t StackSize() const; |
| 432 | 432 |
| 433 // Returns assembler label associated with the given block entry. | 433 // Returns assembler label associated with the given block entry. |
| 434 Label* GetJumpLabel(BlockEntryInstr* block_entry) const; | 434 Label* GetJumpLabel(BlockEntryInstr* block_entry) const; |
| 435 bool WasCompacted(BlockEntryInstr* block_entry) const; | 435 bool WasCompacted(BlockEntryInstr* block_entry) const; |
| 436 | 436 |
| 437 // Returns the label of the fall-through of the current block. | 437 // Returns the label of the fall-through of the current block. |
| (...skipping 235 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 673 intptr_t lazy_deopt_pc_offset_; | 673 intptr_t lazy_deopt_pc_offset_; |
| 674 | 674 |
| 675 ZoneGrowableArray<const ICData*>* deopt_id_to_ic_data_; | 675 ZoneGrowableArray<const ICData*>* deopt_id_to_ic_data_; |
| 676 | 676 |
| 677 DISALLOW_COPY_AND_ASSIGN(FlowGraphCompiler); | 677 DISALLOW_COPY_AND_ASSIGN(FlowGraphCompiler); |
| 678 }; | 678 }; |
| 679 | 679 |
| 680 } // namespace dart | 680 } // namespace dart |
| 681 | 681 |
| 682 #endif // VM_FLOW_GRAPH_COMPILER_H_ | 682 #endif // VM_FLOW_GRAPH_COMPILER_H_ |
| OLD | NEW |