diff options
author | Devang Patel <dpatel@apple.com> | 2007-02-23 17:53:17 +0000 |
---|---|---|
committer | Devang Patel <dpatel@apple.com> | 2007-02-23 17:53:17 +0000 |
commit | 4b2646326ba6f14addf5498cbf6aefd273a4556e (patch) | |
tree | f6735e2f97169506d86e57a76087af5fbd43bb25 /lib/Analysis/LoopPass.cpp | |
parent | 403c45dfcc74585b02339b5f55f739672e3d141a (diff) |
Loop passes are set up to accept pointer.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34527 91177308-0d34-0410-b5e6-96231b3b80d8
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 425e46e6e0..26e5061564 100644 --- a/lib/Analysis/LoopPass.cpp +++ b/lib/Analysis/LoopPass.cpp @@ -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) |