Revert accidentially added stuff

llvm-svn: 53321
This commit is contained in:
Anton Korobeynikov 2008-07-09 13:29:08 +00:00
parent 03614f247c
commit d31e7ad0cf

View File

@ -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()) {