forked from OSchip/llvm-project
parent
f4d332797b
commit
0bcf085845
|
@ -2371,8 +2371,8 @@ bool GlobalOpt::OptimizeGlobalCtorsList(GlobalVariable *&GCL) {
|
||||||
bool GlobalOpt::ResolveAliases(Module &M) {
|
bool GlobalOpt::ResolveAliases(Module &M) {
|
||||||
bool Changed = false;
|
bool Changed = false;
|
||||||
|
|
||||||
for (Module::alias_iterator I = M.alias_begin(),
|
for (Module::alias_iterator I = M.alias_begin(), E = M.alias_end();
|
||||||
E = M.alias_end(); I != E; ++I) {
|
I != E; ++I) {
|
||||||
if (I->use_empty())
|
if (I->use_empty())
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue