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 | 97c9f20c52a3b9ec01a3646a15f909798acf5192 (patch) | |
| tree | e28ebdb00e956d1219b01e56235d15db25e47a8f /llvm/lib/Analysis/ProfileInfoLoaderPass.cpp | |
| parent | 80f843d31d6bf058c69f2f369b3cbf1b38fa1ca4 (diff) | |
| download | bcm5719-llvm-97c9f20c52a3b9ec01a3646a15f909798acf5192.tar.gz bcm5719-llvm-97c9f20c52a3b9ec01a3646a15f909798acf5192.zip | |
simplify AnalysisGroup registration, eliminating one typeid call.
llvm-svn: 29932
Diffstat (limited to 'llvm/lib/Analysis/ProfileInfoLoaderPass.cpp')
| -rw-r--r-- | llvm/lib/Analysis/ProfileInfoLoaderPass.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Analysis/ProfileInfoLoaderPass.cpp b/llvm/lib/Analysis/ProfileInfoLoaderPass.cpp index 57e3627c53c..b5cb95433fc 100644 --- a/llvm/lib/Analysis/ProfileInfoLoaderPass.cpp +++ b/llvm/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(); } |

