diff options
author | Jeff Cohen <jeffc@jolt-lang.org> | 2005-01-08 22:01:16 +0000 |
---|---|---|
committer | Jeff Cohen <jeffc@jolt-lang.org> | 2005-01-08 22:01:16 +0000 |
commit | 534927d82de6d1be0f6e939263eeb309ad135661 (patch) | |
tree | 3346932409c56df61b8634eb01c196abca355e3f /lib/Analysis/ProfileInfo.cpp | |
parent | c82a6c883ed03f32c2e3724a68c9f24923131660 (diff) | |
download | external_llvm-534927d82de6d1be0f6e939263eeb309ad135661.zip external_llvm-534927d82de6d1be0f6e939263eeb309ad135661.tar.gz external_llvm-534927d82de6d1be0f6e939263eeb309ad135661.tar.bz2 |
Add even more missing createXxxPass functions.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19402 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Analysis/ProfileInfo.cpp')
-rw-r--r-- | lib/Analysis/ProfileInfo.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/Analysis/ProfileInfo.cpp b/lib/Analysis/ProfileInfo.cpp index 8cb1e00..d5cd3cd 100644 --- a/lib/Analysis/ProfileInfo.cpp +++ b/lib/Analysis/ProfileInfo.cpp @@ -12,6 +12,7 @@ // //===----------------------------------------------------------------------===// +#include "llvm/Analysis/Passes.h" #include "llvm/Analysis/ProfileInfo.h" #include "llvm/Pass.h" #include "llvm/Support/CFG.h" @@ -90,3 +91,5 @@ namespace { // Declare that we implement the ProfileInfo interface RegisterAnalysisGroup<ProfileInfo, NoProfileInfo, true> Y; } // End of anonymous namespace + +ImmutablePass *llvm::createNoProfileInfoPass() { return new NoProfileInfo(); } |