diff options
author | Dan Gohman <gohman@apple.com> | 2010-06-21 18:46:45 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2010-06-21 18:46:45 +0000 |
commit | e407c1d1583cfc788fa7d00fee5f612c3f224983 (patch) | |
tree | 9a435a96a85d310bef7c8debd3be7fd2db2db026 /include/llvm/PassSupport.h | |
parent | b1e51f6910d23b7383c44a4650092c14be791bf8 (diff) | |
download | external_llvm-e407c1d1583cfc788fa7d00fee5f612c3f224983.zip external_llvm-e407c1d1583cfc788fa7d00fee5f612c3f224983.tar.gz external_llvm-e407c1d1583cfc788fa7d00fee5f612c3f224983.tar.bz2 |
Move several non-performance-critical member functinos out of line.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@106444 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/PassSupport.h')
-rw-r--r-- | include/llvm/PassSupport.h | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/include/llvm/PassSupport.h b/include/llvm/PassSupport.h index b229989..b018351 100644 --- a/include/llvm/PassSupport.h +++ b/include/llvm/PassSupport.h @@ -109,13 +109,7 @@ public: } /// createPass() - Use this method to create an instance of this pass. - Pass *createPass() const { - assert((!isAnalysisGroup() || NormalCtor) && - "No default implementation found for analysis group!"); - assert(NormalCtor && - "Cannot call createPass on PassInfo without default ctor!"); - return NormalCtor(); - } + Pass *createPass() const; /// addInterfaceImplemented - This method is called when this pass is /// registered as a member of an analysis group with the RegisterAnalysisGroup |