[llvm-commits] [llvm] r53109 - /llvm/trunk/lib/Target/X86/X86Subtarget.cpp
Evan Cheng
evan.cheng at apple.com
Thu Jul 3 11:11:29 PDT 2008
Author: evancheng
Date: Thu Jul 3 13:11:29 2008
New Revision: 53109
URL: http://llvm.org/viewvc/llvm-project?rev=53109&view=rev
Log:
Back out 53091 for now.
Modified:
llvm/trunk/lib/Target/X86/X86Subtarget.cpp
Modified: llvm/trunk/lib/Target/X86/X86Subtarget.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/X86/X86Subtarget.cpp?rev=53109&r1=53108&r2=53109&view=diff
==============================================================================
--- llvm/trunk/lib/Target/X86/X86Subtarget.cpp (original)
+++ llvm/trunk/lib/Target/X86/X86Subtarget.cpp Thu Jul 3 13:11:29 2008
@@ -47,8 +47,7 @@
// 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()) {
More information about the llvm-commits
mailing list