mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 03:02:36 +01:00
Remove useless dynamic_cast<>().
Thanks Peter for pointing me to something that should have never been committed to the llvm code base. llvm-svn: 121648
This commit is contained in:
parent
07b5bc4a9e
commit
cd3d63e102
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user