From a5370172b64bed5daf8e2869d7bf7cb52f80d6b7 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Mon, 28 Aug 2006 00:42:29 +0000 Subject: simplify AnalysisGroup registration, eliminating one typeid call. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29932 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Analysis/ProfileInfo.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/Analysis/ProfileInfo.cpp') diff --git a/lib/Analysis/ProfileInfo.cpp b/lib/Analysis/ProfileInfo.cpp index b8ab88b8f2..c35d00ca05 100644 --- a/lib/Analysis/ProfileInfo.cpp +++ b/lib/Analysis/ProfileInfo.cpp @@ -89,7 +89,7 @@ namespace { X("no-profile", "No Profile Information"); // Declare that we implement the ProfileInfo interface - RegisterAnalysisGroup Y; + RegisterAnalysisGroup Y(X); } // End of anonymous namespace ImmutablePass *llvm::createNoProfileInfoPass() { return new NoProfileInfo(); } -- cgit v1.2.3