summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2002-04-08 22:04:24 +0000
committerChris Lattner <sabre@nondot.org>2002-04-08 22:04:24 +0000
commit8bfa89c7f525e63a244788e496b786942641d3b2 (patch)
tree12db263552045dac2ea1082d2c3a4ec79567f5b0 /tools
parentb7653df0853f06112b741be09f1b7ae5a6aa6fde (diff)
downloadllvm-8bfa89c7f525e63a244788e496b786942641d3b2.tar.gz
llvm-8bfa89c7f525e63a244788e496b786942641d3b2.tar.bz2
llvm-8bfa89c7f525e63a244788e496b786942641d3b2.tar.xz
Add #includes
s/PrintMethodPass/PrintFunctionPass git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2181 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools')
-rw-r--r--tools/analyze/analyze.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/tools/analyze/analyze.cpp b/tools/analyze/analyze.cpp
index 0a6ecf81af..a83ede3a05 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);