forked from OSchip/llvm-project
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:
parent
ca9fb19323
commit
904b345c71
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue