aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/Analysis/LoopPass.h
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2010-01-22 06:03:06 +0000
committerChris Lattner <sabre@nondot.org>2010-01-22 06:03:06 +0000
commit476e9bd1146624fa17243ae55fdb156f905ba3d4 (patch)
tree05d19c1e722c5a9095a8517de04e345d87a79ed5 /include/llvm/Analysis/LoopPass.h
parent6f6e87db19e2976b3e581587db0f44fdfc4be0ad (diff)
downloadexternal_llvm-476e9bd1146624fa17243ae55fdb156f905ba3d4.zip
external_llvm-476e9bd1146624fa17243ae55fdb156f905ba3d4.tar.gz
external_llvm-476e9bd1146624fa17243ae55fdb156f905ba3d4.tar.bz2
elimiante the dynamic_cast's from opt.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@94160 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Analysis/LoopPass.h')
-rw-r--r--include/llvm/Analysis/LoopPass.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/llvm/Analysis/LoopPass.h b/include/llvm/Analysis/LoopPass.h
index 25488da..10ff103 100644
--- a/include/llvm/Analysis/LoopPass.h
+++ b/include/llvm/Analysis/LoopPass.h
@@ -28,8 +28,8 @@ class PMStack;
class LoopPass : public Pass {
public:
- explicit LoopPass(intptr_t pid) : Pass(pid) {}
- explicit LoopPass(void *pid) : Pass(pid) {}
+ explicit LoopPass(intptr_t pid) : Pass(PT_Loop, pid) {}
+ explicit LoopPass(void *pid) : Pass(PT_Loop, pid) {}
// runOnLoop - This method should be implemented by the subclass to perform
// whatever action is necessary for the specified Loop.