From: Chris Lattner Date: Mon, 8 Apr 2002 22:04:24 +0000 (+0000) Subject: Add #includes X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=8bfa89c7f525e63a244788e496b786942641d3b2;p=oota-llvm.git Add #includes s/PrintMethodPass/PrintFunctionPass git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2181 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/tools/analyze/analyze.cpp b/tools/analyze/analyze.cpp index 0a6ecf81afa..a83ede3a051 100644 --- a/tools/analyze/analyze.cpp +++ b/tools/analyze/analyze.cpp @@ -14,10 +14,12 @@ #include "llvm/Module.h" #include "llvm/Function.h" #include "llvm/iPHINode.h" +#include "llvm/Type.h" #include "llvm/PassManager.h" #include "llvm/Bytecode/Reader.h" #include "llvm/Assembly/Parser.h" #include "llvm/Assembly/PrintModulePass.h" +#include "llvm/Assembly/Writer.h" #include "llvm/Analysis/Writer.h" #include "llvm/Analysis/InstForest.h" #include "llvm/Analysis/Dominators.h" @@ -129,7 +131,7 @@ Pass *New(const string &Message) { Pass *NewPrintFunction(const string &Message) { - return new PrintMethodPass(Message, &std::cout); + return new PrintFunctionPass(Message, &std::cout); } Pass *NewPrintModule(const string &Message) { return new PrintModulePass(&std::cout);