diff options
author | Chris Lattner <sabre@nondot.org> | 2002-06-25 16:13:24 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2002-06-25 16:13:24 +0000 |
commit | 7e70829632f82de15db187845666aaca6e04b792 (patch) | |
tree | 48dd2d804e7ebec9a3cbd8bf229cb2a2aa20dce5 /include/llvm/Assembly | |
parent | 0b12b5f50ec77a8bd01b92d287c52d748619bb4b (diff) | |
download | external_llvm-7e70829632f82de15db187845666aaca6e04b792.zip external_llvm-7e70829632f82de15db187845666aaca6e04b792.tar.gz external_llvm-7e70829632f82de15db187845666aaca6e04b792.tar.bz2 |
MEGAPATCH checkin.
For details, See: docs/2002-06-25-MegaPatchInfo.txt
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2779 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Assembly')
-rw-r--r-- | include/llvm/Assembly/PrintModulePass.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/include/llvm/Assembly/PrintModulePass.h b/include/llvm/Assembly/PrintModulePass.h index 83cd852..7daea4c 100644 --- a/include/llvm/Assembly/PrintModulePass.h +++ b/include/llvm/Assembly/PrintModulePass.h @@ -29,8 +29,8 @@ public: if (DeleteStream) delete Out; } - bool run(Module *M) { - (*Out) << M; + bool run(Module &M) { + (*Out) << (Value&)M; return false; } @@ -58,8 +58,8 @@ public: // runOnFunction - This pass just prints a banner followed by the function as // it's processed. // - bool runOnFunction(Function *F) { - (*Out) << Banner << (Value*)F; + bool runOnFunction(Function &F) { + (*Out) << Banner << (Value&)F; return false; } |