LiveIntervalAnalysis: Remove unused pruneValue() variant.

llvm-svn: 226686
This commit is contained in:
Matthias Braun 2015-01-21 18:45:57 +00:00
parent 04b979dd81
commit 1002baf7b9
2 changed files with 0 additions and 15 deletions

View File

@ -181,12 +181,6 @@ namespace llvm {
void pruneValue(LiveRange &LR, SlotIndex Kill,
SmallVectorImpl<SlotIndex> *EndPoints);
/// Subregister aware variant of pruneValue(LiveRange &LR, SlotIndex Kill,
/// SmallVectorImpl<SlotIndex> &EndPoints). Prunes the value in the main
/// range and all sub ranges.
void pruneValue(LiveInterval &LI, SlotIndex Kill,
SmallVectorImpl<SlotIndex> *EndPoints);
SlotIndexes *getSlotIndexes() const {
return Indexes;
}

View File

@ -609,15 +609,6 @@ void LiveIntervals::pruneValue(LiveRange &LR, SlotIndex Kill,
}
}
void LiveIntervals::pruneValue(LiveInterval &LI, SlotIndex Kill,
SmallVectorImpl<SlotIndex> *EndPoints) {
pruneValue((LiveRange&)LI, Kill, EndPoints);
for (LiveInterval::SubRange &SR : LI.subranges()) {
pruneValue(SR, Kill, nullptr);
}
}
//===----------------------------------------------------------------------===//
// Register allocator hooks.
//