Remove InstForest from analysis namespace
authorChris Lattner <sabre@nondot.org>
Mon, 29 Apr 2002 18:13:31 +0000 (18:13 +0000)
committerChris Lattner <sabre@nondot.org>
Mon, 29 Apr 2002 18:13:31 +0000 (18:13 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2401 91177308-0d34-0410-b5e6-96231b3b80d8

tools/analyze/analyze.cpp

index e347b4331b9779d62fb6ff574e4c4b0d7fd82f99..cd35a108d5fc3f840d350995de8e5f2b1f780c85 100644 (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> >             },