1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-20 19:42:54 +02:00

Bug fix: condition inverted.

llvm-svn: 26804
This commit is contained in:
Evan Cheng 2006-03-16 22:02:48 +00:00
parent db35180b27
commit 0e1abe6e19

View File

@ -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