[llvm] r203727 - MCDwarf: Remove unused parameter
David Blaikie
dblaikie at gmail.com
Wed Mar 12 15:35:24 PDT 2014
Author: dblaikie
Date: Wed Mar 12 17:35:23 2014
New Revision: 203727
URL: http://llvm.org/viewvc/llvm-project?rev=203727&view=rev
Log:
MCDwarf: Remove unused parameter
Modified:
llvm/trunk/lib/MC/MCDwarf.cpp
Modified: llvm/trunk/lib/MC/MCDwarf.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/MC/MCDwarf.cpp?rev=203727&r1=203726&r2=203727&view=diff
==============================================================================
--- llvm/trunk/lib/MC/MCDwarf.cpp (original)
+++ llvm/trunk/lib/MC/MCDwarf.cpp Wed Mar 12 17:35:23 2014
@@ -111,10 +111,9 @@ static inline const MCExpr *MakeStartMin
// 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
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()) {
More information about the llvm-commits
mailing list