summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew Lenharth <andrewl@lenharth.org>2005-06-19 14:46:20 +0000
committerAndrew Lenharth <andrewl@lenharth.org>2005-06-19 14:46:20 +0000
commit2929266127e4eab39e971299a6a367596b2e6e3d (patch)
treeecf10c8f77807e612f86bd07887668e0c83020ef
parentd4b103107eea9d524f8f979adf86604f68828f9b (diff)
downloadbcm5719-llvm-2929266127e4eab39e971299a6a367596b2e6e3d.tar.gz
bcm5719-llvm-2929266127e4eab39e971299a6a367596b2e6e3d.zip
fix DCE + va_arg problem
llvm-svn: 22264
-rw-r--r--llvm/include/llvm/Instructions.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/include/llvm/Instructions.h b/llvm/include/llvm/Instructions.h
index 53cfe6ae1d4..b1214afef3d 100644
--- a/llvm/include/llvm/Instructions.h
+++ b/llvm/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; }
OpenPOWER on IntegriCloud