rethrow is really the language independent primitive here. "throw" can be written

in terms of it and llvm.exc.setcurrent.

Rework these intrinsics.

llvm-svn: 8109
This commit is contained in:
Chris Lattner 2003-08-24 12:24:03 +00:00
parent 1853f284ed
commit 0c5eaf7e84
1 changed files with 3 additions and 2 deletions

View File

@ -22,9 +22,10 @@ namespace LLVMIntrinsic {
va_end, // Used to represent a va_end call in C
va_copy, // Used to represent a va_copy call in C
unwind, // Unwind stack until containing invoke is found
// Exception handling intrinsics...
exc_throw, // Throw an exception
exc_rethrow, // Rethrow a caught exception
exc_setcurrent, // Set the current pending exception
exc_getcurrent, // Get the current pending exception
// Setjmp/Longjmp intrinsics...