projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2bf4b54
)
Remove useless dynamic_cast<>().
author
Tobias Grosser
<grosser@fim.uni-passau.de>
Sun, 12 Dec 2010 21:58:28 +0000
(21:58 +0000)
committer
Tobias Grosser
<grosser@fim.uni-passau.de>
Sun, 12 Dec 2010 21:58:28 +0000
(21:58 +0000)
Thanks Peter for pointing me to something that should have never been
committed to the llvm code base.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@121648
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Analysis/RegionPass.cpp
patch
|
blob
|
history
diff --git
a/lib/Analysis/RegionPass.cpp
b/lib/Analysis/RegionPass.cpp
index a4145e15e4314182859b0b0542e447bc55a20ab0..3269dcc63d5e77d4c74c28e5196bccdb5f852b9f 100644
(file)
--- a/
lib/Analysis/RegionPass.cpp
+++ b/
lib/Analysis/RegionPass.cpp
@@
-259,8
+259,7
@@
void RegionPass::assignPassManager(PMStack &PMS,
// [3] Assign manager to manage this new manager. This may create
// and push new managers into PMS
- Pass *P = dynamic_cast<Pass *>(RGPM);
- TPM->schedulePass(P);
+ TPM->schedulePass(RGPM);
// [4] Push new manager into PMS
PMS.push(RGPM);