From ed3d16e443bc5e27438bbace3b59c657243b7c25 Mon Sep 17 00:00:00 2001 From: Reid Spencer Date: Sun, 4 Jul 2004 10:59:05 +0000 Subject: [PATCH] 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 --- include/llvm/Assembly/Writer.h | 3 +++ 1 file changed, 3 insertions(+) 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