diff options
Diffstat (limited to 'lib/Analysis/LoopPass.cpp')
-rw-r--r-- | lib/Analysis/LoopPass.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Analysis/LoopPass.cpp b/lib/Analysis/LoopPass.cpp index f3686fe67a..e297ab4207 100644 --- a/lib/Analysis/LoopPass.cpp +++ b/lib/Analysis/LoopPass.cpp @@ -230,9 +230,9 @@ bool LPPassManager::runOnFunction(Function &F) { initializeAnalysisImpl(P); LoopPass *LP = dynamic_cast<LoopPass *>(P); + assert(LP && "Invalid LPPassManager member"); { PassManagerPrettyStackEntry X(LP, *CurrentLoop->getHeader()); - assert(LP && "Invalid LPPassManager member"); Timer *T = StartPassTimer(P); Changed |= LP->runOnLoop(CurrentLoop, *this); StopPassTimer(P, T); |