minor cleanup

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@73737 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2009-06-18 23:33:13 +00:00
parent b839c3f577
commit 7e816dc175

View File

@ -29,13 +29,11 @@ FunctionPass *llvm::createX86CodePrinterPass(raw_ostream &o,
bool verbose) {
const X86Subtarget *Subtarget = &tm.getSubtarget<X86Subtarget>();
if (Subtarget->isFlavorIntel()) {
if (Subtarget->isFlavorIntel())
return new X86IntelAsmPrinter(o, tm, tm.getTargetAsmInfo(),
OptLevel, verbose);
} else {
return new X86ATTAsmPrinter(o, tm, tm.getTargetAsmInfo(),
OptLevel, verbose);
}
return new X86ATTAsmPrinter(o, tm, tm.getTargetAsmInfo(),
OptLevel, verbose);
}
namespace {