forked from OSchip/llvm-project
Removing a switch statement that only contains a default; NFC.
llvm-svn: 238552
This commit is contained in:
parent
5b981ab9e5
commit
1196ca2113
|
@ -219,12 +219,9 @@ public:
|
||||||
};
|
};
|
||||||
PrettyPrinter PrettyPrinterInst;
|
PrettyPrinter PrettyPrinterInst;
|
||||||
PrettyPrinter &selectPrettyPrinter(Triple const &Triple, MCInstPrinter &IP) {
|
PrettyPrinter &selectPrettyPrinter(Triple const &Triple, MCInstPrinter &IP) {
|
||||||
switch(Triple.getArch()) {
|
|
||||||
default:
|
|
||||||
return PrettyPrinterInst;
|
return PrettyPrinterInst;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
static void DisassembleObject(const ObjectFile *Obj, bool InlineRelocs) {
|
static void DisassembleObject(const ObjectFile *Obj, bool InlineRelocs) {
|
||||||
const Target *TheTarget = getTarget(Obj);
|
const Target *TheTarget = getTarget(Obj);
|
||||||
|
|
Loading…
Reference in New Issue