[PATCH] D48590: [DwarfDebug] Remove unused argument (NFC)

Petar Jovanovic via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 27 21:55:32 PDT 2018


This revision was automatically updated to reflect the committed changes.
Closed by commit rL335811: [DwarfDebug] Remove unused argument (NFC) (authored by petarj, committed by ).

Changed prior to commit:
  https://reviews.llvm.org/D48590?vs=152855&id=153257#toc

Repository:
  rL LLVM

https://reviews.llvm.org/D48590

Files:
  llvm/trunk/lib/CodeGen/AsmPrinter/DwarfDebug.cpp


Index: llvm/trunk/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
===================================================================
--- llvm/trunk/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
+++ llvm/trunk/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
@@ -1688,7 +1688,6 @@
 }
 
 static void emitDebugLocValue(const AsmPrinter &AP, const DIBasicType *BT,
-                              ByteStreamer &Streamer,
                               const DebugLocEntry::Value &Value,
                               DwarfExpression &DwarfExpr) {
   auto *DIExpr = Value.getExpression();
@@ -1733,11 +1732,11 @@
            "fragments are expected to be sorted");
 
     for (auto Fragment : Values)
-      emitDebugLocValue(AP, BT, Streamer, Fragment, DwarfExpr);
+      emitDebugLocValue(AP, BT, Fragment, DwarfExpr);
 
   } else {
     assert(Values.size() == 1 && "only fragments may have >1 value");
-    emitDebugLocValue(AP, BT, Streamer, Value, DwarfExpr);
+    emitDebugLocValue(AP, BT, Value, DwarfExpr);
   }
   DwarfExpr.finalize();
 }


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D48590.153257.patch
Type: text/x-patch
Size: 1016 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180628/4c1f1f7f/attachment.bin>


More information about the llvm-commits mailing list