Remove unnecessary parameter to RenumberValues.

Patch by Matthias Braun!

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@188393 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Jakob Stoklund Olesen 2013-08-14 17:28:52 +00:00
parent 906968c533
commit 1c6d387dc9
4 changed files with 4 additions and 4 deletions

View File

@ -240,7 +240,7 @@ namespace llvm {
/// RenumberValues - Renumber all values in order of appearance and remove
/// unused values.
void RenumberValues(LiveIntervals &lis);
void RenumberValues();
/// MergeValueNumberInto - This method is called when two value nubmers
/// are found to be equivalent. This eliminates V1, replacing all

View File

@ -202,7 +202,7 @@ void LiveInterval::markValNoForDeletion(VNInfo *ValNo) {
/// RenumberValues - Renumber all values in order of appearance and delete the
/// remaining unused values.
void LiveInterval::RenumberValues(LiveIntervals &lis) {
void LiveInterval::RenumberValues() {
SmallPtrSet<VNInfo*, 8> Seen;
valnos.clear();
for (const_iterator I = begin(), E = end(); I != E; ++I) {

View File

@ -360,7 +360,7 @@ void LiveRangeEdit::eliminateDeadDefs(SmallVectorImpl<MachineInstr*> &Dead,
if (BeingSpilled) continue;
// LI may have been separated, create new intervals.
LI->RenumberValues(LIS);
LI->RenumberValues();
ConnectedVNInfoEqClasses ConEQ(LIS);
unsigned NumComp = ConEQ.Classify(LI);
if (NumComp <= 1)

View File

@ -1092,7 +1092,7 @@ void SplitEditor::finish(SmallVectorImpl<unsigned> *LRMap) {
// Get rid of unused values and set phi-kill flags.
for (LiveRangeEdit::iterator I = Edit->begin(), E = Edit->end(); I != E; ++I)
(*I)->RenumberValues(LIS);
(*I)->RenumberValues();
// Provide a reverse mapping from original indices to Edit ranges.
if (LRMap) {