Remove InstForest from analysis namespace

llvm-svn: 2401
This commit is contained in:
Chris Lattner 2002-04-29 18:13:31 +00:00
parent b4de02df67
commit ce42e8ac31
1 changed files with 3 additions and 3 deletions

View File

@ -134,11 +134,11 @@ Pass *createPrintModulePass(const string &Message) {
return new PrintModulePass(&std::cout);
}
struct InstForest : public FunctionPass {
struct InstForestHelper : public FunctionPass {
const char *getPassName() const { return "InstForest Printer"; }
void doit(Function *F) {
std::cout << analysis::InstForest<char>(F);
std::cout << InstForest<char>(F);
}
virtual void getAnalysisUsage(AnalysisUsage &AU) const {
@ -271,7 +271,7 @@ struct {
{ print , createPrintFunctionPass },
{ intervals , New<FunctionPass, IntervalPartition> },
{ loops , New<FunctionPass, LoopInfo> },
{ instforest , Create<PrinterPass<InstForest> > },
{ instforest , Create<PrinterPass<InstForestHelper> > },
{ indvars , Create<PrinterPass<IndVars> > },
{ exprs , Create<PrinterPass<Exprs> > },