diff options
author | Daniel Dunbar <daniel@zuster.org> | 2011-04-20 00:14:25 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2011-04-20 00:14:25 +0000 |
commit | 558692fd0a31d4d3ae4fd09a3a02f80da2e44e5c (patch) | |
tree | b091c8cac7cf9dda382e4539f65b5c1a6818fc03 /lib/Target/X86/X86FastISel.cpp | |
parent | 4aaf3465f71afa4e156eb15df12095ebde1b0f6f (diff) |
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
Diffstat (limited to 'lib/Target/X86/X86FastISel.cpp')
-rw-r--r-- | lib/Target/X86/X86FastISel.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Target/X86/X86FastISel.cpp b/lib/Target/X86/X86FastISel.cpp index a2e328dad7..b35ec0d3a3 100644 --- a/lib/Target/X86/X86FastISel.cpp +++ b/lib/Target/X86/X86FastISel.cpp @@ -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. |