OSDN Git Service

VAArg may trap.
authorDan Gohman <gohman@apple.com>
Mon, 14 Apr 2008 15:07:08 +0000 (15:07 +0000)
committerDan Gohman <gohman@apple.com>
Mon, 14 Apr 2008 15:07:08 +0000 (15:07 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@49646 91177308-0d34-0410-b5e6-96231b3b80d8

lib/VMCore/Instruction.cpp

index 5107b74..6f09c90 100644 (file)
@@ -266,6 +266,7 @@ bool Instruction::isTrapping(unsigned op) {
   case Store:
   case Call:
   case Invoke:
+  case VAArg:
     return true;
   default:
     return false;