diff options
author | David Blaikie <dblaikie@gmail.com> | 2014-11-03 17:10:38 +0000 |
---|---|---|
committer | David Blaikie <dblaikie@gmail.com> | 2014-11-03 17:10:38 +0000 |
commit | 077ad48447627ae8a51a87fcf8b5884221f5d626 (patch) | |
tree | 38257109e8769ebcad529d88feee29b945a807ee /llvm/lib/CodeGen | |
parent | d6efd3e0d06ee72b6c18c6fe64b97356393250cf (diff) | |
download | bcm5719-llvm-077ad48447627ae8a51a87fcf8b5884221f5d626.tar.gz bcm5719-llvm-077ad48447627ae8a51a87fcf8b5884221f5d626.zip |
Cleanup some unused or trivial functions in DwarfCompileUnit
llvm-svn: 221164
Diffstat (limited to 'llvm/lib/CodeGen')
-rw-r--r-- | llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp | 2 | ||||
-rw-r--r-- | llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.h | 6 |
2 files changed, 1 insertions, 7 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp b/llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp index 13b3fda9380..706ea100e0c 100644 --- a/llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp +++ b/llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp @@ -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( diff --git a/llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.h b/llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.h index 53be5188398..787ac23eb03 100644 --- a/llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.h +++ b/llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.h @@ -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; } |