summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2004-07-04 10:59:05 +0000
committerReid Spencer <rspencer@reidspencer.com>2004-07-04 10:59:05 +0000
commit904b345c71c4dd323bc8eb180a532aab2982fd7c (patch)
tree973ed929570fb850f7fb81232916e8f5e2e80e0b
parentca9fb193231230d24037939c1cd1e4e83ac9e716 (diff)
downloadbcm5719-llvm-904b345c71c4dd323bc8eb180a532aab2982fd7c.tar.gz
bcm5719-llvm-904b345c71c4dd323bc8eb180a532aab2982fd7c.zip
Add a new, compatible, interface function for writing types as operands.
This is necessary because Types are no longer Values. llvm-svn: 14598
-rw-r--r--llvm/include/llvm/Assembly/Writer.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/llvm/include/llvm/Assembly/Writer.h b/llvm/include/llvm/Assembly/Writer.h
index fcd450f08d2..43edb090c38 100644
--- a/llvm/include/llvm/Assembly/Writer.h
+++ b/llvm/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
OpenPOWER on IntegriCloud