git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@42118 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Devang Patel 2007-09-18 23:58:14 +00:00
parent 921c85c487
commit 0f2fb60a18

View File

@ -222,7 +222,7 @@ bool LPPassManager::runOnFunction(Function &F) {
StartPassTimer(P); StartPassTimer(P);
LoopPass *LP = dynamic_cast<LoopPass *>(P); LoopPass *LP = dynamic_cast<LoopPass *>(P);
assert (LP && "Invalid LPPassManager member"); assert (LP && "Invalid LPPassManager member");
LP->runOnLoop(CurrentLoop, *this); Changed |= LP->runOnLoop(CurrentLoop, *this);
StopPassTimer(P); StopPassTimer(P);
if (Changed) if (Changed)