summaryrefslogtreecommitdiffstats
path: root/llvm/lib/MC/MCDwarf.cpp
diff options
context:
space:
mode:
authorDavid Blaikie <dblaikie@gmail.com>2014-03-12 22:35:23 +0000
committerDavid Blaikie <dblaikie@gmail.com>2014-03-12 22:35:23 +0000
commitf4ad6983365a3b893584cf01d022c9d740cfeab1 (patch)
tree51a331f9920639dec39be07f264893420a4061eb /llvm/lib/MC/MCDwarf.cpp
parenta55e64f84a7c80f697739a130b2c4fbd7b347422 (diff)
downloadbcm5719-llvm-f4ad6983365a3b893584cf01d022c9d740cfeab1.tar.gz
bcm5719-llvm-f4ad6983365a3b893584cf01d022c9d740cfeab1.zip
MCDwarf: Remove unused parameter
llvm-svn: 203727
Diffstat (limited to 'llvm/lib/MC/MCDwarf.cpp')
-rw-r--r--llvm/lib/MC/MCDwarf.cpp9
1 files changed, 4 insertions, 5 deletions
diff --git a/llvm/lib/MC/MCDwarf.cpp b/llvm/lib/MC/MCDwarf.cpp
index ba61a5d8ce3..4bc751fd3d7 100644
--- a/llvm/lib/MC/MCDwarf.cpp
+++ b/llvm/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()) {
OpenPOWER on IntegriCloud