summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2008-04-14 15:07:08 +0000
committerDan Gohman <gohman@apple.com>2008-04-14 15:07:08 +0000
commit19bce7f18ca60f9e87e87f3e5be0e1bf3568183e (patch)
tree88c2333fd7937976d3620e70fd6bea17902e1270
parentcb1a37b145554a2d2a0d927ce584c268923513e0 (diff)
downloadbcm5719-llvm-19bce7f18ca60f9e87e87f3e5be0e1bf3568183e.tar.gz
bcm5719-llvm-19bce7f18ca60f9e87e87f3e5be0e1bf3568183e.zip
VAArg may trap.
llvm-svn: 49646
-rw-r--r--llvm/lib/VMCore/Instruction.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/VMCore/Instruction.cpp b/llvm/lib/VMCore/Instruction.cpp
index 5107b74417a..6f09c907083 100644
--- a/llvm/lib/VMCore/Instruction.cpp
+++ b/llvm/lib/VMCore/Instruction.cpp
@@ -266,6 +266,7 @@ bool Instruction::isTrapping(unsigned op) {
case Store:
case Call:
case Invoke:
+ case VAArg:
return true;
default:
return false;
OpenPOWER on IntegriCloud