git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@238557
91177308-0d34-0410-b5e6-
96231b3b80d8
}
};
HexagonPrettyPrinter HexagonPrettyPrinterInst;
-PrettyPrinter &selectPrettyPrinter(Triple const &Triple, MCInstPrinter &IP) {
+PrettyPrinter &selectPrettyPrinter(Triple const &Triple) {
switch(Triple.getArch()) {
default:
return PrettyPrinterInst;
<< '\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 ": ";