forked from OSchip/llvm-project
isSVR4ABI() returned !isDarwin() so just move that to the else
block and remove the unreachable code. llvm-svn: 209927
This commit is contained in:
parent
174c662b7c
commit
5435224a53
|
@ -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