From: Reid Spencer Date: Sun, 4 Jul 2004 10:59:05 +0000 (+0000) Subject: Add a new, compatible, interface function for writing types as operands. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=ed3d16e443bc5e27438bbace3b59c657243b7c25;p=oota-llvm.git Add a new, compatible, interface function for writing types as operands. This is necessary because Types are no longer Values. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14598 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/llvm/Assembly/Writer.h b/include/llvm/Assembly/Writer.h index fcd450f08d2..43edb090c38 100644 --- a/include/llvm/Assembly/Writer.h +++ b/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