mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-09-25 17:20:48 +00:00
Cleanup some unused or trivial functions in DwarfCompileUnit
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@221164 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -395,7 +395,7 @@ DwarfCompileUnit::addScopeRangeList(DIE &ScopeDIE,
|
|||||||
DD->getLabelAfterInsn(R.second)));
|
DD->getLabelAfterInsn(R.second)));
|
||||||
|
|
||||||
// Add the range list to the set of ranges to be emitted.
|
// 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(
|
void DwarfCompileUnit::attachRangesOrLowHighPC(
|
||||||
|
@@ -226,16 +226,10 @@ public:
|
|||||||
|
|
||||||
void applySubprogramAttributesToDefinition(DISubprogram SP, DIE &SPDie);
|
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.
|
/// getRangeLists - Get the vector of range lists.
|
||||||
const SmallVectorImpl<RangeSpanList> &getRangeLists() const {
|
const SmallVectorImpl<RangeSpanList> &getRangeLists() const {
|
||||||
return CURangeLists;
|
return CURangeLists;
|
||||||
}
|
}
|
||||||
SmallVectorImpl<RangeSpanList> &getRangeLists() { return CURangeLists; }
|
|
||||||
|
|
||||||
/// getRanges - Get the list of ranges for this unit.
|
/// getRanges - Get the list of ranges for this unit.
|
||||||
const SmallVectorImpl<RangeSpan> &getRanges() const { return CURanges; }
|
const SmallVectorImpl<RangeSpan> &getRanges() const { return CURanges; }
|
||||||
|
Reference in New Issue
Block a user