diff options
author | Andrew Lenharth <andrewl@lenharth.org> | 2005-06-19 14:46:20 +0000 |
---|---|---|
committer | Andrew Lenharth <andrewl@lenharth.org> | 2005-06-19 14:46:20 +0000 |
commit | c64b64a2044b6c01a42cb35c94b440f799b1340d (patch) | |
tree | 4fc9baf98413c267019c5f409f1c2152e0253d84 | |
parent | 94cd87f658e278102e6e10404c59991aeca2eedc (diff) |
fix DCE + va_arg problem
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22264 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | include/llvm/Instructions.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/llvm/Instructions.h b/include/llvm/Instructions.h index 53cfe6ae1d..b1214afef3 100644 --- a/include/llvm/Instructions.h +++ b/include/llvm/Instructions.h @@ -681,6 +681,7 @@ public: } 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; } |