[llvm-commits] CVS: llvm/include/llvm/Assembly/Writer.h

LLVM llvm at cs.uiuc.edu
Sun Jul 4 06:00:01 PDT 2004


Changes in directory llvm/include/llvm/Assembly:

Writer.h updated: 1.29 -> 1.30

---
Log message:

Add a new, compatible, interface function for writing types as operands. 
This is necessary because Types are no longer Values.


---
Diffs of the changes:  (+3 -0)

Index: llvm/include/llvm/Assembly/Writer.h
diff -u llvm/include/llvm/Assembly/Writer.h:1.29 llvm/include/llvm/Assembly/Writer.h:1.30
--- llvm/include/llvm/Assembly/Writer.h:1.29	Thu Jan  8 16:28:45 2004
+++ llvm/include/llvm/Assembly/Writer.h	Sun Jul  4 05:59:05 2004
@@ -40,6 +40,9 @@
 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





More information about the llvm-commits mailing list