summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Analysis/ProfileInfoLoaderPass.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2006-08-28 00:42:29 +0000
committerChris Lattner <sabre@nondot.org>2006-08-28 00:42:29 +0000
commit97c9f20c52a3b9ec01a3646a15f909798acf5192 (patch)
treee28ebdb00e956d1219b01e56235d15db25e47a8f /llvm/lib/Analysis/ProfileInfoLoaderPass.cpp
parent80f843d31d6bf058c69f2f369b3cbf1b38fa1ca4 (diff)
downloadbcm5719-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.cpp2
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(); }
OpenPOWER on IntegriCloud