Loop passes are set up to accept pointer.

llvm-svn: 34527
This commit is contained in:
Devang Patel
2007-02-23 17:53:17 +00:00
parent 584e051c28
commit d3ccdfd04d
2 changed files with 2 additions and 2 deletions

View File

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