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/TargetLibraryInfo.cpp | |
parent | 4aaf3465f71afa4e156eb15df12095ebde1b0f6f (diff) | |
download | external_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/TargetLibraryInfo.cpp')
-rw-r--r-- | lib/Target/TargetLibraryInfo.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Target/TargetLibraryInfo.cpp b/lib/Target/TargetLibraryInfo.cpp index 104c5d4..e336b09 100644 --- a/lib/Target/TargetLibraryInfo.cpp +++ b/lib/Target/TargetLibraryInfo.cpp @@ -28,8 +28,8 @@ static void initialize(TargetLibraryInfo &TLI, const Triple &T) { // memset_pattern16 is only available on iOS 3.0 and Mac OS/X 10.5 and later. - if (T.isOSX()) { - if (T.isOSXVersionLT(10, 5)) + if (T.isMacOSX()) { + if (T.isMacOSXVersionLT(10, 5)) TLI.setUnavailable(LibFunc::memset_pattern16); } else if (T.getOS() == Triple::IOS) { if (T.isOSVersionLT(3, 0)) |