Add a new, compatible, interface function for writing types as operands.

This is necessary because Types are no longer Values.

llvm-svn: 14598
This commit is contained in:
Reid Spencer 2004-07-04 10:59:05 +00:00
parent ca9fb19323
commit 904b345c71
1 changed files with 3 additions and 0 deletions

View File

@ -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