| 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 463 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 474 const Class& double_class() const { return double_class_; } | 474 const Class& double_class() const { return double_class_; } |
| 475 const Class& mint_class() const { return mint_class_; } | 475 const Class& mint_class() const { return mint_class_; } |
| 476 const Class& float32x4_class() const { return float32x4_class_; } | 476 const Class& float32x4_class() const { return float32x4_class_; } |
| 477 const Class& float64x2_class() const { return float64x2_class_; } | 477 const Class& float64x2_class() const { return float64x2_class_; } |
| 478 const Class& int32x4_class() const { return int32x4_class_; } | 478 const Class& int32x4_class() const { return int32x4_class_; } |
| 479 | 479 |
| 480 const Class& BoxClassFor(Representation rep); | 480 const Class& BoxClassFor(Representation rep); |
| 481 | 481 |
| 482 void SaveLiveRegisters(LocationSummary* locs); | 482 void SaveLiveRegisters(LocationSummary* locs); |
| 483 void RestoreLiveRegisters(LocationSummary* locs); | 483 void RestoreLiveRegisters(LocationSummary* locs); |
| 484 #if defined(DEBUG) |
| 485 void ClobberDeadTempRegisters(LocationSummary* locs); |
| 486 #endif |
| 484 | 487 |
| 485 Environment* SlowPathEnvironmentFor(Instruction* instruction); | 488 Environment* SlowPathEnvironmentFor(Instruction* instruction); |
| 486 | 489 |
| 487 intptr_t CurrentTryIndex() const { | 490 intptr_t CurrentTryIndex() const { |
| 488 if (current_block_ == NULL) { | 491 if (current_block_ == NULL) { |
| 489 return CatchClauseNode::kInvalidTryIndex; | 492 return CatchClauseNode::kInvalidTryIndex; |
| 490 } | 493 } |
| 491 return current_block_->try_index(); | 494 return current_block_->try_index(); |
| 492 } | 495 } |
| 493 | 496 |
| (...skipping 176 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 670 intptr_t lazy_deopt_pc_offset_; | 673 intptr_t lazy_deopt_pc_offset_; |
| 671 | 674 |
| 672 ZoneGrowableArray<const ICData*>* deopt_id_to_ic_data_; | 675 ZoneGrowableArray<const ICData*>* deopt_id_to_ic_data_; |
| 673 | 676 |
| 674 DISALLOW_COPY_AND_ASSIGN(FlowGraphCompiler); | 677 DISALLOW_COPY_AND_ASSIGN(FlowGraphCompiler); |
| 675 }; | 678 }; |
| 676 | 679 |
| 677 } // namespace dart | 680 } // namespace dart |
| 678 | 681 |
| 679 #endif // VM_FLOW_GRAPH_COMPILER_H_ | 682 #endif // VM_FLOW_GRAPH_COMPILER_H_ |
| OLD | NEW |