aboutsummaryrefslogtreecommitdiff
path: root/lib/VMCore/Instruction.cpp
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
commitd660f973dc69801615545c74409e77888869aae2 (patch)
tree7f24e087f6a715eede3e943ff1462a47126a23eb /lib/VMCore/Instruction.cpp
parentddc016cc8592fe5c9379feb42a1fb4fb63164a91 (diff)
VAArg may trap.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@49646 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/VMCore/Instruction.cpp')
-rw-r--r--lib/VMCore/Instruction.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/VMCore/Instruction.cpp b/lib/VMCore/Instruction.cpp
index 5107b74417..6f09c90708 100644
--- a/lib/VMCore/Instruction.cpp
+++ b/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;