Fix PR885

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29794 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2006-08-21 17:20:01 +00:00
parent a5dfc835d4
commit 3dd965c954
2 changed files with 6 additions and 7 deletions

View File

@ -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

View File

@ -162,10 +162,10 @@ public:
} // end namespace llvm
static RegisterPass<PrintModulePass>
X("printm", "Print module to stderr",PassInfo::Analysis|PassInfo::Optimization);
static RegisterPass<PrintFunctionPass>
Y("print","Print function to stderr",PassInfo::Analysis|PassInfo::Optimization);
static RegisterOpt<PrintModulePass>
X("printm", "Print module to stderr");
static RegisterOpt<PrintFunctionPass>
Y("print","Print function to stderr");
static void WriteAsOperandInternal(std::ostream &Out, const Value *V,
bool PrintName,