[SEH] Add llvm.eh.exceptioncode intrinsic
[oota-llvm.git] / lib / IR / Verifier.cpp
index a3808e4ff3a8be68b3bec34664895eaeeb7e0efc..7b07bcea560c0b363e7364ff9de328b3bbab9f62 100644 (file)
@@ -3681,6 +3681,7 @@ void Verifier::visitIntrinsicCallSite(Intrinsic::ID ID, CallSite CS) {
            "gc.relocate: relocating a pointer shouldn't change its address space", CS);
     break;
   }
+  case Intrinsic::eh_exceptioncode:
   case Intrinsic::eh_exceptionpointer: {
     Assert(isa<CatchPadInst>(CS.getArgOperand(0)),
            "eh.exceptionpointer argument must be a catchpad", CS);