X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=lib%2FAnalysis%2FProfileInfo.cpp;h=d5cd3cd9862302f3686c072fd40b44bb289ba883;hb=6e84bd7d59e3534d4bd385253cc5a882d34e15a0;hp=8cb1e0017646ceb25b4bdbacaf894eb57f12a3e1;hpb=96ab5caf2db23939c21c36d9468fa6c95e23129d;p=oota-llvm.git diff --git a/lib/Analysis/ProfileInfo.cpp b/lib/Analysis/ProfileInfo.cpp index 8cb1e001764..d5cd3cd9862 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 Y; } // End of anonymous namespace + +ImmutablePass *llvm::createNoProfileInfoPass() { return new NoProfileInfo(); }