diff options
author | Chris Lattner <sabre@nondot.org> | 2006-12-13 21:56:10 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2006-12-13 21:56:10 +0000 |
commit | 6e9e5e026af9e26cdec634c79017199f4e718599 (patch) | |
tree | 127af7be09e17a272254d0808b3757a3aeb5a829 /include/llvm/PassAnalysisSupport.h | |
parent | e8ff1ce7343c697ff90d940c8c5fa8fccc09220d (diff) | |
download | external_llvm-6e9e5e026af9e26cdec634c79017199f4e718599.zip external_llvm-6e9e5e026af9e26cdec634c79017199f4e718599.tar.gz external_llvm-6e9e5e026af9e26cdec634c79017199f4e718599.tar.bz2 |
fit in 80 cols
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32563 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/PassAnalysisSupport.h')
-rw-r--r-- | include/llvm/PassAnalysisSupport.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/include/llvm/PassAnalysisSupport.h b/include/llvm/PassAnalysisSupport.h index 1575d56..7dbaa89 100644 --- a/include/llvm/PassAnalysisSupport.h +++ b/include/llvm/PassAnalysisSupport.h @@ -213,10 +213,9 @@ AnalysisType &Pass::getAnalysis() const { #ifdef USE_OLD_PASSMANAGER assert(Resolver && "Pass has not been inserted into a PassManager object!"); #else - assert(Resolver_New && "Pass has not been inserted into a PassManager object!"); + assert(Resolver_New&&"Pass has not been inserted into a PassManager object!"); #endif - const PassInfo *PI = getClassPassInfo<AnalysisType>(); - return getAnalysisID<AnalysisType>(PI); + return getAnalysisID<AnalysisType>(getClassPassInfo<AnalysisType>()); } template<typename AnalysisType> @@ -239,7 +238,7 @@ AnalysisType &Pass::getAnalysisID(const PassInfo *PI) const { } } #else - assert(Resolver_New && "Pass has not been inserted into a PassManager object!"); + assert(Resolver_New&&"Pass has not been inserted into a PassManager object!"); // PI *must* appear in AnalysisImpls. Because the number of passes used // should be a small number, we just do a linear search over a (dense) // vector. |