projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d231fc3
)
Changes to make print pass work!
author
Chris Lattner
<sabre@nondot.org>
Thu, 18 Apr 2002 22:11:12 +0000
(22:11 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Thu, 18 Apr 2002 22:11:12 +0000
(22:11 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2306
91177308
-0d34-0410-b5e6-
96231b3b80d8
include/llvm/Assembly/PrintModulePass.h
patch
|
blob
|
history
diff --git
a/include/llvm/Assembly/PrintModulePass.h
b/include/llvm/Assembly/PrintModulePass.h
index 7cbfc6189948c6c7652d5fcce8830a1a4ab884c2..eceaf3a888668750ee25edacba04ae5d6c64900d 100644
(file)
--- a/
include/llvm/Assembly/PrintModulePass.h
+++ b/
include/llvm/Assembly/PrintModulePass.h
@@
-11,6
+11,7
@@
#define LLVM_ASSEMBLY_PRINTMODULEPASS_H
#include "llvm/Pass.h"
+#include "llvm/Value.h"
#include <iostream>
class PrintModulePass : public Pass {
@@
-49,7
+50,7
@@
public:
// it's processed.
//
bool runOnMethod(Function *F) {
- (*Out) << Banner << F;
+ (*Out) << Banner <<
(Value*)
F;
return false;
}
};