projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
sdisel flag -> glue.
[oota-llvm.git]
/
lib
/
Analysis
/
RegionPass.cpp
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);