aboutsummaryrefslogtreecommitdiff
path: root/lib/Analysis/LoopPass.cpp
diff options
context:
space:
mode:
authorDevang Patel <dpatel@apple.com>2007-02-23 17:53:17 +0000
committerDevang Patel <dpatel@apple.com>2007-02-23 17:53:17 +0000
commit4b2646326ba6f14addf5498cbf6aefd273a4556e (patch)
treef6735e2f97169506d86e57a76087af5fbd43bb25 /lib/Analysis/LoopPass.cpp
parent403c45dfcc74585b02339b5f55f739672e3d141a (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.cpp2
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)