[llvm] r221164 - Cleanup some unused or trivial functions in DwarfCompileUnit
David Blaikie
dblaikie at gmail.com
Mon Nov 3 09:10:39 PST 2014
Author: dblaikie
Date: Mon Nov 3 11:10:38 2014
New Revision: 221164
URL: http://llvm.org/viewvc/llvm-project?rev=221164&view=rev
Log:
Cleanup some unused or trivial functions in DwarfCompileUnit
Modified:
llvm/trunk/lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp
llvm/trunk/lib/CodeGen/AsmPrinter/DwarfCompileUnit.h
Modified: llvm/trunk/lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp?rev=221164&r1=221163&r2=221164&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp (original)
+++ llvm/trunk/lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp Mon Nov 3 11:10:38 2014
@@ -395,7 +395,7 @@ DwarfCompileUnit::addScopeRangeList(DIE
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(
Modified: llvm/trunk/lib/CodeGen/AsmPrinter/DwarfCompileUnit.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/AsmPrinter/DwarfCompileUnit.h?rev=221164&r1=221163&r2=221164&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/AsmPrinter/DwarfCompileUnit.h (original)
+++ llvm/trunk/lib/CodeGen/AsmPrinter/DwarfCompileUnit.h Mon Nov 3 11:10:38 2014
@@ -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; }
More information about the llvm-commits
mailing list