ADT/Triple: Renambe isOSX... methods to isMacOSX for consistency with the OS

triple component.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@129838 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Daniel Dunbar
2011-04-20 00:14:25 +00:00
parent 4aaf3465f7
commit 558692fd0a
9 changed files with 24 additions and 22 deletions

View File

@ -1773,8 +1773,8 @@ bool X86FastISel::X86SelectCall(const Instruction *I) {
OpFlags = X86II::MO_PLT;
} else if (Subtarget->isPICStyleStubAny() &&
(GV->isDeclaration() || GV->isWeakForLinker()) &&
(!Subtarget->getTargetTriple().isOSX() ||
Subtarget->getTargetTriple().isOSXVersionLT(10, 5))) {
(!Subtarget->getTargetTriple().isMacOSX() ||
Subtarget->getTargetTriple().isMacOSXVersionLT(10, 5))) {
// PC-relative references to external symbols should go through $stub,
// unless we're building with the leopard linker or later, which
// automatically synthesizes these stubs.