Cleanup some unused or trivial functions in DwarfCompileUnit

llvm-svn: 221164
This commit is contained in:
David Blaikie 2014-11-03 17:10:38 +00:00
parent d6efd3e0d0
commit 077ad48447
2 changed files with 1 additions and 7 deletions

View File

@ -395,7 +395,7 @@ DwarfCompileUnit::addScopeRangeList(DIE &ScopeDIE,
DD->getLabelAfterInsn(R.second)));
// Add the range list to the set of ranges to be emitted.
addRangeList(std::move(List));
CURangeLists.push_back(std::move(List));
}
void DwarfCompileUnit::attachRangesOrLowHighPC(

View File

@ -226,16 +226,10 @@ public:
void applySubprogramAttributesToDefinition(DISubprogram SP, DIE &SPDie);
/// addRangeList - Add an address range list to the list of range lists.
void addRangeList(RangeSpanList Ranges) {
CURangeLists.push_back(std::move(Ranges));
}
/// getRangeLists - Get the vector of range lists.
const SmallVectorImpl<RangeSpanList> &getRangeLists() const {
return CURangeLists;
}
SmallVectorImpl<RangeSpanList> &getRangeLists() { return CURangeLists; }
/// getRanges - Get the list of ranges for this unit.
const SmallVectorImpl<RangeSpan> &getRanges() const { return CURanges; }