1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2025-01-31 12:41:49 +01:00

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 925f7fd54c
commit a53681ae93

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