1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-25 04:02:41 +01:00

Non-functionality change just to make it more clear what is going on

llvm-svn: 4060
This commit is contained in:
Chris Lattner 2002-10-07 18:34:32 +00:00
parent 1a1a1002c4
commit c532e35cce

View File

@ -42,7 +42,7 @@ namespace {
// Mark all global variables with initializers as internal as well...
for (Module::giterator I = M.gbegin(), E = M.gend(); I != E; ++I)
if (I->hasInitializer() && I->hasExternalLinkage()) {
if (!I->isExternal() && I->hasExternalLinkage()) {
I->setInternalLinkage(true);
Changed = true;
++NumGlobals;