diff options
author | David Blaikie <dblaikie@gmail.com> | 2014-03-12 22:35:23 +0000 |
---|---|---|
committer | David Blaikie <dblaikie@gmail.com> | 2014-03-12 22:35:23 +0000 |
commit | 1da4b5ba045bd9d4c9c3760ca53101042d157ce4 (patch) | |
tree | 216b29739da6b46ec55240f801aacb0d36bd996c | |
parent | 16300ca843f287fff22a912b30a28ea24e93a266 (diff) | |
download | llvm-1da4b5ba045bd9d4c9c3760ca53101042d157ce4.tar.gz llvm-1da4b5ba045bd9d4c9c3760ca53101042d157ce4.tar.bz2 llvm-1da4b5ba045bd9d4c9c3760ca53101042d157ce4.tar.xz |
MCDwarf: Remove unused parameter
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@203727 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | lib/MC/MCDwarf.cpp | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/lib/MC/MCDwarf.cpp b/lib/MC/MCDwarf.cpp index ba61a5d8ce..4bc751fd3d 100644 --- a/lib/MC/MCDwarf.cpp +++ b/lib/MC/MCDwarf.cpp @@ -111,10 +111,9 @@ static inline const MCExpr *MakeStartMinusEndExpr(const MCStreamer &MCOS, // This emits the Dwarf line table for the specified section from the entries // in the LineSection. // -static inline void EmitDwarfLineTable(MCStreamer *MCOS, - const MCSection *Section, - const MCLineSection::MCLineEntryCollection &LineEntries, - unsigned CUID) { +static inline void +EmitDwarfLineTable(MCStreamer *MCOS, const MCSection *Section, + const MCLineSection::MCLineEntryCollection &LineEntries) { unsigned FileNum = 1; unsigned LastLine = 1; unsigned Column = 0; @@ -308,7 +307,7 @@ const MCSymbol *MCDwarfFileTable::EmitCU(MCStreamer *MCOS, unsigned CUID) { auto Iter = MCLineSections.find(CUID); if (Iter != MCLineSections.end()) for (const auto &LineSec : Iter->second.getMCLineEntries()) - EmitDwarfLineTable(MCOS, LineSec.first, LineSec.second, CUID); + EmitDwarfLineTable(MCOS, LineSec.first, LineSec.second); if (MCOS->getContext().getAsmInfo()->getLinkerRequiresNonEmptyDwarfLines() && Iter == MCLineSections.end()) { |