diff options
author | Reid Spencer <rspencer@reidspencer.com> | 2004-07-04 10:59:05 +0000 |
---|---|---|
committer | Reid Spencer <rspencer@reidspencer.com> | 2004-07-04 10:59:05 +0000 |
commit | 904b345c71c4dd323bc8eb180a532aab2982fd7c (patch) | |
tree | 973ed929570fb850f7fb81232916e8f5e2e80e0b | |
parent | ca9fb193231230d24037939c1cd1e4e83ac9e716 (diff) | |
download | bcm5719-llvm-904b345c71c4dd323bc8eb180a532aab2982fd7c.tar.gz bcm5719-llvm-904b345c71c4dd323bc8eb180a532aab2982fd7c.zip |
Add a new, compatible, interface function for writing types as operands.
This is necessary because Types are no longer Values.
llvm-svn: 14598
-rw-r--r-- | llvm/include/llvm/Assembly/Writer.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/llvm/include/llvm/Assembly/Writer.h b/llvm/include/llvm/Assembly/Writer.h index fcd450f08d2..43edb090c38 100644 --- a/llvm/include/llvm/Assembly/Writer.h +++ b/llvm/include/llvm/Assembly/Writer.h @@ -40,6 +40,9 @@ std::ostream &WriteTypeSymbolic(std::ostream &, const Type *, const Module *M); std::ostream &WriteAsOperand(std::ostream &, const Value *, bool PrintTy = true, bool PrintName = true, const Module *Context = 0); +std::ostream &WriteAsOperand(std::ostream&, const Type*, bool PrintTy = true, + bool PrintName = true, const Module* Context = 0); + } // End llvm namespace #endif |