Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3)

Side by Side Diff: src/ia32/lithium-ia32.h

Issue 5605004: Remove NearestNextGapPos. It is not used anymore. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 10 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 1872 matching lines...) Expand 10 before | Expand all | Expand 10 after
1883 1883
1884 int ParameterAt(int index); 1884 int ParameterAt(int index);
1885 int GetParameterStackSlot(int index) const; 1885 int GetParameterStackSlot(int index) const;
1886 int spill_slot_count() const { return spill_slot_count_; } 1886 int spill_slot_count() const { return spill_slot_count_; }
1887 HGraph* graph() const { return graph_; } 1887 HGraph* graph() const { return graph_; }
1888 const ZoneList<LInstruction*>* instructions() const { return &instructions_; } 1888 const ZoneList<LInstruction*>* instructions() const { return &instructions_; }
1889 void AddGapMove(int index, LOperand* from, LOperand* to); 1889 void AddGapMove(int index, LOperand* from, LOperand* to);
1890 LGap* GetGapAt(int index) const; 1890 LGap* GetGapAt(int index) const;
1891 bool IsGapAt(int index) const; 1891 bool IsGapAt(int index) const;
1892 int NearestGapPos(int index) const; 1892 int NearestGapPos(int index) const;
1893 int NearestNextGapPos(int index) const;
1894 void MarkEmptyBlocks(); 1893 void MarkEmptyBlocks();
1895 const ZoneList<LPointerMap*>* pointer_maps() const { return &pointer_maps_; } 1894 const ZoneList<LPointerMap*>* pointer_maps() const { return &pointer_maps_; }
1896 LLabel* GetLabel(int block_id) const { 1895 LLabel* GetLabel(int block_id) const {
1897 HBasicBlock* block = graph_->blocks()->at(block_id); 1896 HBasicBlock* block = graph_->blocks()->at(block_id);
1898 int first_instruction = block->first_instruction_index(); 1897 int first_instruction = block->first_instruction_index();
1899 return LLabel::cast(instructions_[first_instruction]); 1898 return LLabel::cast(instructions_[first_instruction]);
1900 } 1899 }
1901 int LookupDestination(int block_id) const { 1900 int LookupDestination(int block_id) const {
1902 LLabel* cur = GetLabel(block_id); 1901 LLabel* cur = GetLabel(block_id);
1903 while (cur->replacement() != NULL) { 1902 while (cur->replacement() != NULL) {
(...skipping 158 matching lines...) Expand 10 before | Expand all | Expand 10 after
2062 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); 2061 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder);
2063 }; 2062 };
2064 2063
2065 #undef DECLARE_HYDROGEN_ACCESSOR 2064 #undef DECLARE_HYDROGEN_ACCESSOR
2066 #undef DECLARE_INSTRUCTION 2065 #undef DECLARE_INSTRUCTION
2067 #undef DECLARE_CONCRETE_INSTRUCTION 2066 #undef DECLARE_CONCRETE_INSTRUCTION
2068 2067
2069 } } // namespace v8::internal 2068 } } // namespace v8::internal
2070 2069
2071 #endif // V8_IA32_LITHIUM_IA32_H_ 2070 #endif // V8_IA32_LITHIUM_IA32_H_
OLDNEW
« no previous file with comments | « src/arm/lithium-arm.cc ('k') | src/ia32/lithium-ia32.cc » ('j') | src/lithium-allocator.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698