diff options
author | Chris Lattner <sabre@nondot.org> | 2002-04-29 18:13:31 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2002-04-29 18:13:31 +0000 |
commit | fbaed2e070edc74cd2bdf382a5ac0377a6f0596b (patch) | |
tree | 8c65729cbf7923aa41d6064b95de3e3228f540d6 /tools/analyze/analyze.cpp | |
parent | f772f8ef387b9b168f814e5a7c4f9cc0834894bc (diff) | |
download | llvm-fbaed2e070edc74cd2bdf382a5ac0377a6f0596b.tar.gz llvm-fbaed2e070edc74cd2bdf382a5ac0377a6f0596b.tar.bz2 llvm-fbaed2e070edc74cd2bdf382a5ac0377a6f0596b.tar.xz |
Remove InstForest from analysis namespace
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2401 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/analyze/analyze.cpp')
-rw-r--r-- | tools/analyze/analyze.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/analyze/analyze.cpp b/tools/analyze/analyze.cpp index e347b4331b..cd35a108d5 100644 --- a/tools/analyze/analyze.cpp +++ b/tools/analyze/analyze.cpp @@ -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> > }, |