mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-14 14:24:05 +00:00
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
This commit is contained in:
@ -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.
|
||||
|
Reference in New Issue
Block a user