From: Colin LeMahieu Date: Fri, 29 May 2015 14:48:25 +0000 (+0000) Subject: [Objdump] Removing unused parameter. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=00703e975e64fb7435e854266d9cb6a2b2439e57;p=oota-llvm.git [Objdump] Removing unused parameter. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@238557 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/tools/llvm-objdump/llvm-objdump.cpp b/tools/llvm-objdump/llvm-objdump.cpp index 7598df5f701..5a8b56e5aa2 100644 --- a/tools/llvm-objdump/llvm-objdump.cpp +++ b/tools/llvm-objdump/llvm-objdump.cpp @@ -271,7 +271,7 @@ public: } }; HexagonPrettyPrinter HexagonPrettyPrinterInst; -PrettyPrinter &selectPrettyPrinter(Triple const &Triple, MCInstPrinter &IP) { +PrettyPrinter &selectPrettyPrinter(Triple const &Triple) { switch(Triple.getArch()) { default: return PrettyPrinterInst; @@ -347,7 +347,7 @@ static void DisassembleObject(const ObjectFile *Obj, bool InlineRelocs) { << '\n'; return; } - PrettyPrinter &PIP = selectPrettyPrinter(Triple(TripleName), *IP); + PrettyPrinter &PIP = selectPrettyPrinter(Triple(TripleName)); StringRef Fmt = Obj->getBytesInAddress() > 4 ? "\t\t%016" PRIx64 ": " : "\t\t\t%08" PRIx64 ": ";