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:
parent
1a1a1002c4
commit
c532e35cce
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user