mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-02-06 12:16:59 +00:00
Revert accidentially added stuff
llvm-svn: 53321
This commit is contained in:
parent
03614f247c
commit
d31e7ad0cf
@ -47,8 +47,7 @@ bool X86Subtarget::GVRequiresExtraLoad(const GlobalValue* GV,
|
||||
// Extra load is needed for all externally visible.
|
||||
if (isDirectCall)
|
||||
return false;
|
||||
if (GV->hasInternalLinkage() ||
|
||||
(GV->hasHiddenVisibility() && !GV->isDeclaration()))
|
||||
if (GV->hasInternalLinkage() || GV->hasHiddenVisibility())
|
||||
return false;
|
||||
return true;
|
||||
} else if (isTargetCygMing() || isTargetWindows()) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user