[llvm] r238557 - [Objdump] Removing unused parameter.
Colin LeMahieu
colinl at codeaurora.org
Fri May 29 07:48:25 PDT 2015
Author: colinl
Date: Fri May 29 09:48:25 2015
New Revision: 238557
URL: http://llvm.org/viewvc/llvm-project?rev=238557&view=rev
Log:
[Objdump] Removing unused parameter.
Modified:
llvm/trunk/tools/llvm-objdump/llvm-objdump.cpp
Modified: llvm/trunk/tools/llvm-objdump/llvm-objdump.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/tools/llvm-objdump/llvm-objdump.cpp?rev=238557&r1=238556&r2=238557&view=diff
==============================================================================
--- llvm/trunk/tools/llvm-objdump/llvm-objdump.cpp (original)
+++ llvm/trunk/tools/llvm-objdump/llvm-objdump.cpp Fri May 29 09:48:25 2015
@@ -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 Obje
<< '\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 ": ";
More information about the llvm-commits
mailing list