Make sure to register the 'no profile' implementation as the default for ProfileInfo
llvm-svn: 11309
diff --git a/llvm/lib/Analysis/ProfileInfo.cpp b/llvm/lib/Analysis/ProfileInfo.cpp
index 8a0dbe6..24a26c8 100644
--- a/llvm/lib/Analysis/ProfileInfo.cpp
+++ b/llvm/lib/Analysis/ProfileInfo.cpp
@@ -38,5 +38,5 @@
X("no-profile", "No Profile Information");
// Declare that we implement the AliasAnalysis interface
- RegisterAnalysisGroup<ProfileInfo, NoProfileInfo> Y;
+ RegisterAnalysisGroup<ProfileInfo, NoProfileInfo, true> Y;
} // End of anonymous namespace