mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-15 04:30:12 +00:00
minor cleanup
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@73737 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
b839c3f577
commit
7e816dc175
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user