diff options
| author | Chris Lattner <sabre@nondot.org> | 2006-08-21 17:20:01 +0000 | 
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2006-08-21 17:20:01 +0000 | 
| commit | e7134c5f69bdd0d055bc8cfc2219e02e6f5572c0 (patch) | |
| tree | 9120dbd50e1adb9af8aed21173bc981d4736beab /llvm/lib/Analysis | |
| parent | 9d77f9fd24ef3b6c26dab93275751d81763c4efa (diff) | |
| download | bcm5719-llvm-e7134c5f69bdd0d055bc8cfc2219e02e6f5572c0.tar.gz bcm5719-llvm-e7134c5f69bdd0d055bc8cfc2219e02e6f5572c0.zip  | |
Fix PR885
llvm-svn: 29794
Diffstat (limited to 'llvm/lib/Analysis')
| -rw-r--r-- | llvm/lib/Analysis/ProfileInfoLoaderPass.cpp | 5 | 
1 files changed, 2 insertions, 3 deletions
diff --git a/llvm/lib/Analysis/ProfileInfoLoaderPass.cpp b/llvm/lib/Analysis/ProfileInfoLoaderPass.cpp index 8f8333eef91..354c871ff20 100644 --- a/llvm/lib/Analysis/ProfileInfoLoaderPass.cpp +++ b/llvm/lib/Analysis/ProfileInfoLoaderPass.cpp @@ -49,9 +49,8 @@ namespace {      virtual bool runOnModule(Module &M);    }; -  RegisterPass<LoaderPass> -  X("profile-loader", "Load profile information from llvmprof.out", -    PassInfo::Analysis|PassInfo::Optimization); +  RegisterOpt<LoaderPass> +  X("profile-loader", "Load profile information from llvmprof.out");    RegisterAnalysisGroup<ProfileInfo, LoaderPass> Y;  }  // End of anonymous namespace  | 

