mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-18 12:29:21 +00:00
Non-functionality change just to make it more clear what is going on
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4060 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
71bcba7d1a
commit
7c1faf0f59
@ -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