mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-20 14:29:27 +00:00
Bug fix: condition inverted.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26804 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
d1d6b5cce2
commit
2221de9cc1
@ -2214,7 +2214,7 @@ bool X86TargetLowering::isLegalAddressImmediate(GlobalValue *GV) const {
|
||||
if (RModel == Reloc::Static)
|
||||
return true;
|
||||
else if (RModel == Reloc::DynamicNoPIC)
|
||||
return DarwinGVRequiresExtraLoad(GV);
|
||||
return !DarwinGVRequiresExtraLoad(GV);
|
||||
else
|
||||
return false;
|
||||
} else
|
||||
|
Loading…
x
Reference in New Issue
Block a user