Removing a switch statement that only contains a default; NFC.

llvm-svn: 238552
This commit is contained in:
Aaron Ballman 2015-05-29 13:00:07 +00:00
parent 5b981ab9e5
commit 1196ca2113
1 changed files with 1 additions and 4 deletions

View File

@ -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);