summaryrefslogtreecommitdiff
path: root/lib/Analysis/ProfileInfo.cpp
diff options
context:
space:
mode:
authorJeff Cohen <jeffc@jolt-lang.org>2005-01-08 22:01:16 +0000
committerJeff Cohen <jeffc@jolt-lang.org>2005-01-08 22:01:16 +0000
commit534927d82de6d1be0f6e939263eeb309ad135661 (patch)
tree3346932409c56df61b8634eb01c196abca355e3f /lib/Analysis/ProfileInfo.cpp
parentc82a6c883ed03f32c2e3724a68c9f24923131660 (diff)
downloadllvm-534927d82de6d1be0f6e939263eeb309ad135661.tar.gz
llvm-534927d82de6d1be0f6e939263eeb309ad135661.tar.bz2
llvm-534927d82de6d1be0f6e939263eeb309ad135661.tar.xz
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.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/Analysis/ProfileInfo.cpp b/lib/Analysis/ProfileInfo.cpp
index 8cb1e00176..d5cd3cd986 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(); }