diff options
author | Tobias Grosser <grosser@fim.uni-passau.de> | 2010-12-12 21:58:28 +0000 |
---|---|---|
committer | Tobias Grosser <grosser@fim.uni-passau.de> | 2010-12-12 21:58:28 +0000 |
commit | d713acb63105f55ef5ed0f3a499da81c3eeacd49 (patch) | |
tree | a161842b03dffd3aa1a9d4a55fa8122ca5fb2bd3 /lib/Analysis/RegionPass.cpp | |
parent | 2bf4b54a800c2dd44c0a5939fe629ea120bee2ad (diff) | |
download | external_llvm-d713acb63105f55ef5ed0f3a499da81c3eeacd49.zip external_llvm-d713acb63105f55ef5ed0f3a499da81c3eeacd49.tar.gz external_llvm-d713acb63105f55ef5ed0f3a499da81c3eeacd49.tar.bz2 |
Remove useless dynamic_cast<>().
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
Diffstat (limited to 'lib/Analysis/RegionPass.cpp')
-rw-r--r-- | lib/Analysis/RegionPass.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/Analysis/RegionPass.cpp b/lib/Analysis/RegionPass.cpp index a4145e1..3269dcc 100644 --- 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); |