unwind, // Unwind stack until containing invoke is found
- // Exception handling intrinsics...
- exc_setcurrent, // Set the current pending exception
- exc_getcurrent, // Get the current pending exception
-
// Setjmp/Longjmp intrinsics...
setjmp, // Used to represent a setjmp call in C
longjmp, // Used to represent a longjmp call in C
if (getName() == alpha_intrinsics[i].name)
return alpha_intrinsics[i].id;
break;
- case 'e':
- if (getName() == "llvm.exc.getcurrent")return LLVMIntrinsic::exc_getcurrent;
- if (getName() == "llvm.exc.setcurrent")return LLVMIntrinsic::exc_setcurrent;
- break;
case 'l':
if (getName() == "llvm.longjmp") return LLVMIntrinsic::longjmp;
break;
case LLVMIntrinsic::va_copy: NumArgs = 2; break;
case LLVMIntrinsic::unwind: NumArgs = 0; break;
- case LLVMIntrinsic::exc_setcurrent: NumArgs = 1; break;
- case LLVMIntrinsic::exc_getcurrent: NumArgs = 0; break;
case LLVMIntrinsic::setjmp: NumArgs = 1; break;
case LLVMIntrinsic::longjmp: NumArgs = 2; break;