diff options
author | Chris Lattner <sabre@nondot.org> | 2002-04-18 22:11:12 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2002-04-18 22:11:12 +0000 |
commit | fe6d2ced0e93249c49f58c477e41f2d61afa50da (patch) | |
tree | ad60d80d16d1c5c1fedafc103364ae4e4f34faf2 /include/llvm/Assembly/PrintModulePass.h | |
parent | d231fc32546b3bef9cfe1e9e600a9a75b3192743 (diff) |
Changes to make print pass work!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2306 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Assembly/PrintModulePass.h')
-rw-r--r-- | include/llvm/Assembly/PrintModulePass.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/llvm/Assembly/PrintModulePass.h b/include/llvm/Assembly/PrintModulePass.h index 7cbfc61899..eceaf3a888 100644 --- 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; } }; |