aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Target/PowerPC/PPCISelLowering.cpp
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2011-04-20 00:14:25 +0000
committerDaniel Dunbar <daniel@zuster.org>2011-04-20 00:14:25 +0000
commit558692fd0a31d4d3ae4fd09a3a02f80da2e44e5c (patch)
treeb091c8cac7cf9dda382e4539f65b5c1a6818fc03 /lib/Target/PowerPC/PPCISelLowering.cpp
parent4aaf3465f71afa4e156eb15df12095ebde1b0f6f (diff)
downloadexternal_llvm-558692fd0a31d4d3ae4fd09a3a02f80da2e44e5c.zip
external_llvm-558692fd0a31d4d3ae4fd09a3a02f80da2e44e5c.tar.gz
external_llvm-558692fd0a31d4d3ae4fd09a3a02f80da2e44e5c.tar.bz2
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/PowerPC/PPCISelLowering.cpp')
-rw-r--r--lib/Target/PowerPC/PPCISelLowering.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/Target/PowerPC/PPCISelLowering.cpp b/lib/Target/PowerPC/PPCISelLowering.cpp
index 83cfc38..128522c 100644
--- a/lib/Target/PowerPC/PPCISelLowering.cpp
+++ b/lib/Target/PowerPC/PPCISelLowering.cpp
@@ -2444,8 +2444,8 @@ unsigned PrepareCall(SelectionDAG &DAG, SDValue &Callee, SDValue &InFlag,
if (!DAG.getTarget().getSubtarget<PPCSubtarget>().isJITCodeModel()) {
unsigned OpFlags = 0;
if (DAG.getTarget().getRelocationModel() != Reloc::Static &&
- (!PPCSubTarget.getTargetTriple().isOSX() ||
- PPCSubTarget.getTargetTriple().isOSXVersionLT(10, 5)) &&
+ (!PPCSubTarget.getTargetTriple().isMacOSX() ||
+ PPCSubTarget.getTargetTriple().isMacOSXVersionLT(10, 5)) &&
(G->getGlobal()->isDeclaration() ||
G->getGlobal()->isWeakForLinker())) {
// PC-relative references to external symbols should go through $stub,
@@ -2468,8 +2468,8 @@ unsigned PrepareCall(SelectionDAG &DAG, SDValue &Callee, SDValue &InFlag,
unsigned char OpFlags = 0;
if (DAG.getTarget().getRelocationModel() != Reloc::Static &&
- (!PPCSubTarget.getTargetTriple().isOSX() ||
- PPCSubTarget.getTargetTriple().isOSXVersionLT(10, 5))) {
+ (!PPCSubTarget.getTargetTriple().isMacOSX() ||
+ PPCSubTarget.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.