summaryrefslogtreecommitdiff
path: root/include/llvm/PassSupport.h
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2010-06-21 18:46:45 +0000
committerDan Gohman <gohman@apple.com>2010-06-21 18:46:45 +0000
commite407c1d1583cfc788fa7d00fee5f612c3f224983 (patch)
tree9a435a96a85d310bef7c8debd3be7fd2db2db026 /include/llvm/PassSupport.h
parentb1e51f6910d23b7383c44a4650092c14be791bf8 (diff)
downloadllvm-e407c1d1583cfc788fa7d00fee5f612c3f224983.tar.gz
llvm-e407c1d1583cfc788fa7d00fee5f612c3f224983.tar.bz2
llvm-e407c1d1583cfc788fa7d00fee5f612c3f224983.tar.xz
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.h8
1 files changed, 1 insertions, 7 deletions
diff --git a/include/llvm/PassSupport.h b/include/llvm/PassSupport.h
index b229989853..b018351338 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