mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-18 12:29:21 +00:00
Add assert.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@50596 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
4d5b8ccd07
commit
201ebe3899
@ -158,6 +158,7 @@ void CallGraphSCCPass::assignPassManager(PMStack &PMS,
|
||||
PMS.top()->getPassManagerType() > PMT_CallGraphPassManager)
|
||||
PMS.pop();
|
||||
|
||||
assert (!PMS.empty() && "Unable to handle Call Graph Pass");
|
||||
CGPassManager *CGP = dynamic_cast<CGPassManager *>(PMS.top());
|
||||
|
||||
// Create new Call Graph SCC Pass Manager if it does not exist.
|
||||
|
Loading…
Reference in New Issue
Block a user