summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorColin LeMahieu <colinl@codeaurora.org>2015-05-29 14:48:25 +0000
committerColin LeMahieu <colinl@codeaurora.org>2015-05-29 14:48:25 +0000
commit35436a2634213941d7bf8c0511421f9941338a51 (patch)
tree319e5a9bcfc3ed6a6b30b0d0ea983a26bff3224a
parent68d967d92ed502c75cdbbd1914ba39b8d9baa9f8 (diff)
downloadbcm5719-llvm-35436a2634213941d7bf8c0511421f9941338a51.tar.gz
bcm5719-llvm-35436a2634213941d7bf8c0511421f9941338a51.zip
[Objdump] Removing unused parameter.
llvm-svn: 238557
-rw-r--r--llvm/tools/llvm-objdump/llvm-objdump.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/tools/llvm-objdump/llvm-objdump.cpp b/llvm/tools/llvm-objdump/llvm-objdump.cpp
index 7598df5f701..5a8b56e5aa2 100644
--- a/llvm/tools/llvm-objdump/llvm-objdump.cpp
+++ b/llvm/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 ": ";
OpenPOWER on IntegriCloud