mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-13 04:30:23 +00:00
[Objdump] Removing unused parameter.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@238557 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
0ace3c01f7
commit
00703e975e
@ -271,7 +271,7 @@ public:
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
HexagonPrettyPrinter HexagonPrettyPrinterInst;
|
HexagonPrettyPrinter HexagonPrettyPrinterInst;
|
||||||
PrettyPrinter &selectPrettyPrinter(Triple const &Triple, MCInstPrinter &IP) {
|
PrettyPrinter &selectPrettyPrinter(Triple const &Triple) {
|
||||||
switch(Triple.getArch()) {
|
switch(Triple.getArch()) {
|
||||||
default:
|
default:
|
||||||
return PrettyPrinterInst;
|
return PrettyPrinterInst;
|
||||||
@ -347,7 +347,7 @@ static void DisassembleObject(const ObjectFile *Obj, bool InlineRelocs) {
|
|||||||
<< '\n';
|
<< '\n';
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
PrettyPrinter &PIP = selectPrettyPrinter(Triple(TripleName), *IP);
|
PrettyPrinter &PIP = selectPrettyPrinter(Triple(TripleName));
|
||||||
|
|
||||||
StringRef Fmt = Obj->getBytesInAddress() > 4 ? "\t\t%016" PRIx64 ": " :
|
StringRef Fmt = Obj->getBytesInAddress() > 4 ? "\t\t%016" PRIx64 ": " :
|
||||||
"\t\t\t%08" PRIx64 ": ";
|
"\t\t\t%08" PRIx64 ": ";
|
||||||
|
Loading…
Reference in New Issue
Block a user