diff options
author | Chris Lattner <sabre@nondot.org> | 2006-08-28 00:42:29 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2006-08-28 00:42:29 +0000 |
commit | a5370172b64bed5daf8e2869d7bf7cb52f80d6b7 (patch) | |
tree | 1af9676bf65c14df5ff1d8bb43c02ed29ba2f4d6 /lib/Analysis/ProfileInfoLoaderPass.cpp | |
parent | 84f82f7fac2735548eb6f800bd1fdeb4759f1c4b (diff) | |
download | external_llvm-a5370172b64bed5daf8e2869d7bf7cb52f80d6b7.zip external_llvm-a5370172b64bed5daf8e2869d7bf7cb52f80d6b7.tar.gz external_llvm-a5370172b64bed5daf8e2869d7bf7cb52f80d6b7.tar.bz2 |
simplify AnalysisGroup registration, eliminating one typeid call.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29932 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Analysis/ProfileInfoLoaderPass.cpp')
-rw-r--r-- | lib/Analysis/ProfileInfoLoaderPass.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Analysis/ProfileInfoLoaderPass.cpp b/lib/Analysis/ProfileInfoLoaderPass.cpp index 57e3627..b5cb954 100644 --- a/lib/Analysis/ProfileInfoLoaderPass.cpp +++ b/lib/Analysis/ProfileInfoLoaderPass.cpp @@ -52,7 +52,7 @@ namespace { RegisterPass<LoaderPass> X("profile-loader", "Load profile information from llvmprof.out"); - RegisterAnalysisGroup<ProfileInfo, LoaderPass> Y; + RegisterAnalysisGroup<ProfileInfo> Y(X); } // End of anonymous namespace ModulePass *llvm::createProfileLoaderPass() { return new LoaderPass(); } |