Make sure to register the 'no profile' implementation as the default for ProfileInfo
authorChris Lattner <sabre@nondot.org>
Wed, 11 Feb 2004 04:47:54 +0000 (04:47 +0000)
committerChris Lattner <sabre@nondot.org>
Wed, 11 Feb 2004 04:47:54 +0000 (04:47 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11309 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Analysis/ProfileInfo.cpp

index 8a0dbe6404473d247849040fd783f096f0924ee2..24a26c872131edcc96c306ad6875dc17785cab46 100644 (file)
@@ -38,5 +38,5 @@ namespace {
   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