summaryrefslogtreecommitdiff
path: root/include/llvm/CallGraphSCCPass.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/CallGraphSCCPass.h
parent6f6e87db19e2976b3e581587db0f44fdfc4be0ad (diff)
downloadllvm-476e9bd1146624fa17243ae55fdb156f905ba3d4.tar.gz
llvm-476e9bd1146624fa17243ae55fdb156f905ba3d4.tar.bz2
llvm-476e9bd1146624fa17243ae55fdb156f905ba3d4.tar.xz
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/CallGraphSCCPass.h')
-rw-r--r--include/llvm/CallGraphSCCPass.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/llvm/CallGraphSCCPass.h b/include/llvm/CallGraphSCCPass.h
index fc9feda5bd..feab763796 100644
--- a/include/llvm/CallGraphSCCPass.h
+++ b/include/llvm/CallGraphSCCPass.h
@@ -32,8 +32,8 @@ class PMStack;
struct CallGraphSCCPass : public Pass {
- explicit CallGraphSCCPass(intptr_t pid) : Pass(pid) {}
- explicit CallGraphSCCPass(void *pid) : Pass(pid) {}
+ explicit CallGraphSCCPass(intptr_t pid) : Pass(PT_CallGraphSCC, pid) {}
+ explicit CallGraphSCCPass(void *pid) : Pass(PT_CallGraphSCC, pid) {}
/// doInitialization - This method is called before the SCC's of the program
/// has been processed, allowing the pass to do initialization as necessary.