diff options
author | Chris Lattner <sabre@nondot.org> | 2003-08-24 12:24:03 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2003-08-24 12:24:03 +0000 |
commit | 6270f367847d2d3e35f60ead8b039c284d31278f (patch) | |
tree | 20c597fd3dcf82ef14dd4bd1faca689bbe0d16ba /include | |
parent | 71f74b3721a3f0e08b205ee92b327b98a2f704e3 (diff) | |
download | external_llvm-6270f367847d2d3e35f60ead8b039c284d31278f.zip external_llvm-6270f367847d2d3e35f60ead8b039c284d31278f.tar.gz external_llvm-6270f367847d2d3e35f60ead8b039c284d31278f.tar.bz2 |
rethrow is really the language independent primitive here. "throw" can be written
in terms of it and llvm.exc.setcurrent.
Rework these intrinsics.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8109 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r-- | include/llvm/Intrinsics.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/include/llvm/Intrinsics.h b/include/llvm/Intrinsics.h index 5c14362..6c7f6c5 100644 --- a/include/llvm/Intrinsics.h +++ b/include/llvm/Intrinsics.h @@ -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... |