forked from OSchip/llvm-project
parent
cb99fe9839
commit
92fdb96474
|
@ -145,7 +145,7 @@ bool PartialInliner::runOnModule(Module& M) {
|
|||
worklist.reserve(M.size());
|
||||
for (Module::iterator FI = M.begin(), FE = M.end(); FI != FE; ++FI)
|
||||
if (!FI->use_empty() && !FI->isDeclaration())
|
||||
worklist.push_back(&*FI);
|
||||
worklist.push_back(&*FI);
|
||||
|
||||
bool changed = false;
|
||||
while (!worklist.empty()) {
|
||||
|
|
Loading…
Reference in New Issue