OLD | NEW |
1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 the V8 project authors. All rights reserved. |
2 // Redistribution and use in source and binary forms, with or without | 2 // Redistribution and use in source and binary forms, with or without |
3 // modification, are permitted provided that the following conditions are | 3 // modification, are permitted provided that the following conditions are |
4 // met: | 4 // met: |
5 // | 5 // |
6 // * Redistributions of source code must retain the above copyright | 6 // * Redistributions of source code must retain the above copyright |
7 // notice, this list of conditions and the following disclaimer. | 7 // notice, this list of conditions and the following disclaimer. |
8 // * Redistributions in binary form must reproduce the above | 8 // * Redistributions in binary form must reproduce the above |
9 // copyright notice, this list of conditions and the following | 9 // copyright notice, this list of conditions and the following |
10 // disclaimer in the documentation and/or other materials provided | 10 // disclaimer in the documentation and/or other materials provided |
(...skipping 645 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
656 void AddInstruction(LInstruction* instruction, HBasicBlock* block); | 656 void AddInstruction(LInstruction* instruction, HBasicBlock* block); |
657 LConstantOperand* DefineConstantOperand(HConstant* constant); | 657 LConstantOperand* DefineConstantOperand(HConstant* constant); |
658 HConstant* LookupConstant(LConstantOperand* operand) const; | 658 HConstant* LookupConstant(LConstantOperand* operand) const; |
659 Representation LookupLiteralRepresentation(LConstantOperand* operand) const; | 659 Representation LookupLiteralRepresentation(LConstantOperand* operand) const; |
660 | 660 |
661 int ParameterAt(int index); | 661 int ParameterAt(int index); |
662 int GetParameterStackSlot(int index) const; | 662 int GetParameterStackSlot(int index) const; |
663 int spill_slot_count() const { return spill_slot_count_; } | 663 int spill_slot_count() const { return spill_slot_count_; } |
664 CompilationInfo* info() const { return info_; } | 664 CompilationInfo* info() const { return info_; } |
665 HGraph* graph() const { return graph_; } | 665 HGraph* graph() const { return graph_; } |
| 666 Isolate* isolate() const { return graph_->isolate(); } |
666 const ZoneList<LInstruction*>* instructions() const { return &instructions_; } | 667 const ZoneList<LInstruction*>* instructions() const { return &instructions_; } |
667 void AddGapMove(int index, LOperand* from, LOperand* to); | 668 void AddGapMove(int index, LOperand* from, LOperand* to); |
668 LGap* GetGapAt(int index) const; | 669 LGap* GetGapAt(int index) const; |
669 bool IsGapAt(int index) const; | 670 bool IsGapAt(int index) const; |
670 int NearestGapPos(int index) const; | 671 int NearestGapPos(int index) const; |
671 void MarkEmptyBlocks(); | 672 void MarkEmptyBlocks(); |
672 const ZoneList<LPointerMap*>* pointer_maps() const { return &pointer_maps_; } | 673 const ZoneList<LPointerMap*>* pointer_maps() const { return &pointer_maps_; } |
673 LLabel* GetLabel(int block_id) const; | 674 LLabel* GetLabel(int block_id) const; |
674 int LookupDestination(int block_id) const; | 675 int LookupDestination(int block_id) const; |
675 Label* GetAssemblyLabel(int block_id) const; | 676 Label* GetAssemblyLabel(int block_id) const; |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
713 NUMBER_CANDIDATE_IS_SMI, | 714 NUMBER_CANDIDATE_IS_SMI, |
714 NUMBER_CANDIDATE_IS_SMI_OR_HOLE, | 715 NUMBER_CANDIDATE_IS_SMI_OR_HOLE, |
715 NUMBER_CANDIDATE_IS_SMI_CONVERT_HOLE, | 716 NUMBER_CANDIDATE_IS_SMI_CONVERT_HOLE, |
716 NUMBER_CANDIDATE_IS_ANY_TAGGED | 717 NUMBER_CANDIDATE_IS_ANY_TAGGED |
717 }; | 718 }; |
718 | 719 |
719 | 720 |
720 } } // namespace v8::internal | 721 } } // namespace v8::internal |
721 | 722 |
722 #endif // V8_LITHIUM_H_ | 723 #endif // V8_LITHIUM_H_ |
OLD | NEW |