It could happen that we delete the first function in the SCC in the
future so we should be careful accessing `Functions` after the manifest
stage.
A.identifyDefaultAbstractAttributes(*F);
}
+ Module &M = *Functions.front()->getParent();
ChangeStatus Changed = A.run();
- assert(!verifyModule(*Functions.front()->getParent(), &errs()) &&
- "Module verification failed!");
+ assert(!verifyModule(M, &errs()) && "Module verification failed!");
LLVM_DEBUG(dbgs() << "[Attributor] Done with " << Functions.size()
<< " functions, result: " << Changed << ".\n");
return Changed == ChangeStatus::CHANGED;