[llvm-commits] CVS: llvm/include/llvm/Instructions.h

Andrew Lenharth alenhar2 at cs.uiuc.edu
Sun Jun 19 07:46:32 PDT 2005



Changes in directory llvm/include/llvm:

Instructions.h updated: 1.23 -> 1.24
---
Log message:

fix DCE + va_arg problem

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

 Instructions.h |    1 +
 1 files changed, 1 insertion(+)


Index: llvm/include/llvm/Instructions.h
diff -u llvm/include/llvm/Instructions.h:1.23 llvm/include/llvm/Instructions.h:1.24
--- llvm/include/llvm/Instructions.h:1.23	Sat Jun 18 13:31:30 2005
+++ llvm/include/llvm/Instructions.h	Sun Jun 19 09:46:20 2005
@@ -681,6 +681,7 @@
   }
 
   virtual VAArgInst *clone() const;
+  bool mayWriteToMemory() const { return true; }
 
   // Methods for support type inquiry through isa, cast, and dyn_cast:
   static inline bool classof(const VAArgInst *) { return true; }






More information about the llvm-commits mailing list