OLD | NEW |
1 // Copyright 2010 the V8 project authors. All rights reserved. | 1 // Copyright 2010 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 1869 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1880 | 1880 |
1881 int ParameterAt(int index); | 1881 int ParameterAt(int index); |
1882 int GetParameterStackSlot(int index) const; | 1882 int GetParameterStackSlot(int index) const; |
1883 int spill_slot_count() const { return spill_slot_count_; } | 1883 int spill_slot_count() const { return spill_slot_count_; } |
1884 HGraph* graph() const { return graph_; } | 1884 HGraph* graph() const { return graph_; } |
1885 const ZoneList<LInstruction*>* instructions() const { return &instructions_; } | 1885 const ZoneList<LInstruction*>* instructions() const { return &instructions_; } |
1886 void AddGapMove(int index, LOperand* from, LOperand* to); | 1886 void AddGapMove(int index, LOperand* from, LOperand* to); |
1887 LGap* GetGapAt(int index) const; | 1887 LGap* GetGapAt(int index) const; |
1888 bool IsGapAt(int index) const; | 1888 bool IsGapAt(int index) const; |
1889 int NearestGapPos(int index) const; | 1889 int NearestGapPos(int index) const; |
1890 int NearestNextGapPos(int index) const; | |
1891 void MarkEmptyBlocks(); | 1890 void MarkEmptyBlocks(); |
1892 const ZoneList<LPointerMap*>* pointer_maps() const { return &pointer_maps_; } | 1891 const ZoneList<LPointerMap*>* pointer_maps() const { return &pointer_maps_; } |
1893 LLabel* GetLabel(int block_id) const { | 1892 LLabel* GetLabel(int block_id) const { |
1894 HBasicBlock* block = graph_->blocks()->at(block_id); | 1893 HBasicBlock* block = graph_->blocks()->at(block_id); |
1895 int first_instruction = block->first_instruction_index(); | 1894 int first_instruction = block->first_instruction_index(); |
1896 return LLabel::cast(instructions_[first_instruction]); | 1895 return LLabel::cast(instructions_[first_instruction]); |
1897 } | 1896 } |
1898 int LookupDestination(int block_id) const { | 1897 int LookupDestination(int block_id) const { |
1899 LLabel* cur = GetLabel(block_id); | 1898 LLabel* cur = GetLabel(block_id); |
1900 while (cur->replacement() != NULL) { | 1899 while (cur->replacement() != NULL) { |
(...skipping 158 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2059 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2058 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
2060 }; | 2059 }; |
2061 | 2060 |
2062 #undef DECLARE_HYDROGEN_ACCESSOR | 2061 #undef DECLARE_HYDROGEN_ACCESSOR |
2063 #undef DECLARE_INSTRUCTION | 2062 #undef DECLARE_INSTRUCTION |
2064 #undef DECLARE_CONCRETE_INSTRUCTION | 2063 #undef DECLARE_CONCRETE_INSTRUCTION |
2065 | 2064 |
2066 } } // namespace v8::internal | 2065 } } // namespace v8::internal |
2067 | 2066 |
2068 #endif // V8_ARM_LITHIUM_ARM_H_ | 2067 #endif // V8_ARM_LITHIUM_ARM_H_ |
OLD | NEW |