mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-23 17:24:48 +00:00
Target/X86: Eliminate uses of getDarwinVers().
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@129813 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -144,7 +144,7 @@ ClassifyGlobalReference(const GlobalValue *GV, const TargetMachine &TM) const {
|
||||
/// passed as the second argument. Otherwise it returns null.
|
||||
const char *X86Subtarget::getBZeroEntry() const {
|
||||
// Darwin 10 has a __bzero entry point for this purpose.
|
||||
if (getDarwinVers() >= 10)
|
||||
if (getTargetTriple().isOSX() && !getTargetTriple().isOSXVersionLT(10, 6))
|
||||
return "__bzero";
|
||||
|
||||
return 0;
|
||||
|
Reference in New Issue
Block a user