diff options
author | Devang Patel <dpatel@apple.com> | 2007-07-27 20:06:09 +0000 |
---|---|---|
committer | Devang Patel <dpatel@apple.com> | 2007-07-27 20:06:09 +0000 |
commit | 19fe8f907e4addad1a33b7590b3f05893c39b3a6 (patch) | |
tree | ea2359973e6de3d5393fd918ee87cd54e8c256bd /include | |
parent | b116fac90f9b54142ac511a30b4d45b54d3508ba (diff) | |
download | llvm-19fe8f907e4addad1a33b7590b3f05893c39b3a6.tar.gz llvm-19fe8f907e4addad1a33b7590b3f05893c39b3a6.tar.bz2 llvm-19fe8f907e4addad1a33b7590b3f05893c39b3a6.tar.xz |
Add facility to dump pass manager structure
to make it easier to understand failure.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@40567 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r-- | include/llvm/PassManagers.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/include/llvm/PassManagers.h b/include/llvm/PassManagers.h index 5cbb77a779..9b6f551f6d 100644 --- a/include/llvm/PassManagers.h +++ b/include/llvm/PassManagers.h @@ -227,10 +227,7 @@ public: /// Add RequiredPass into list of lower level passes required by pass P. /// RequiredPass is run on the fly by Pass Manager when P requests it /// through getAnalysis interface. - virtual void addLowerLevelRequiredPass(Pass *P, Pass *RequiredPass) { - assert (0 && - "Unable to handle Pass that requires lower level Analysis pass"); - } + virtual void addLowerLevelRequiredPass(Pass *P, Pass *RequiredPass); virtual Pass * getOnTheFlyPass(Pass *P, const PassInfo *PI, Function &F) { assert (0 && "Unable to find on the fly pass"); |