summaryrefslogtreecommitdiff
path: root/lib/CodeGen/TargetLoweringObjectFileImpl.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/CodeGen/TargetLoweringObjectFileImpl.cpp
parent4aaf3465f71afa4e156eb15df12095ebde1b0f6f (diff)
downloadllvm-558692fd0a31d4d3ae4fd09a3a02f80da2e44e5c.tar.gz
llvm-558692fd0a31d4d3ae4fd09a3a02f80da2e44e5c.tar.bz2
llvm-558692fd0a31d4d3ae4fd09a3a02f80da2e44e5c.tar.xz
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/CodeGen/TargetLoweringObjectFileImpl.cpp')
-rw-r--r--lib/CodeGen/TargetLoweringObjectFileImpl.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/TargetLoweringObjectFileImpl.cpp b/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
index 82c186e1c3..7e63d60fa6 100644
--- a/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
+++ b/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
@@ -481,7 +481,7 @@ void TargetLoweringObjectFileMachO::Initialize(MCContext &Ctx,
// .comm doesn't support alignment before Leopard.
Triple T(((LLVMTargetMachine&)TM).getTargetTriple());
- if (T.isOSX() && T.isOSXVersionLT(10, 5))
+ if (T.isMacOSX() && T.isMacOSXVersionLT(10, 5))
CommDirectiveSupportsAlignment = false;
TargetLoweringObjectFile::Initialize(Ctx, TM);