mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-14 16:33:28 +00:00
Indicate that there are changes if runOfFunction returns saying that there are.
Patch by Jingyue! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@137072 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
bc6fc20fcc
commit
7df4f963ea
@ -1532,7 +1532,7 @@ bool FPPassManager::runOnModule(Module &M) {
|
||||
bool Changed = doInitialization(M);
|
||||
|
||||
for (Module::iterator I = M.begin(), E = M.end(); I != E; ++I)
|
||||
runOnFunction(*I);
|
||||
Changed |= runOnFunction(*I);
|
||||
|
||||
return doFinalization(M) || Changed;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user