mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-24 09:29:42 +00:00
isSVR4ABI() returned !isDarwin() so just move that to the else
block and remove the unreachable code. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@209927 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
46949d58b9
commit
96241f26fc
@ -53,11 +53,8 @@ extern cl::opt<bool> ANDIGlueBug;
|
||||
static TargetLoweringObjectFile *createTLOF(const PPCTargetMachine &TM) {
|
||||
if (TM.getSubtargetImpl()->isDarwin())
|
||||
return new TargetLoweringObjectFileMachO();
|
||||
|
||||
if (TM.getSubtargetImpl()->isSVR4ABI())
|
||||
else
|
||||
return new PPC64LinuxTargetObjectFile();
|
||||
|
||||
return new TargetLoweringObjectFileELF();
|
||||
}
|
||||
|
||||
PPCTargetLowering::PPCTargetLowering(PPCTargetMachine &TM)
|
||||
|
Loading…
Reference in New Issue
Block a user