From 6270f367847d2d3e35f60ead8b039c284d31278f Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Sun, 24 Aug 2003 12:24:03 +0000 Subject: 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 --- include/llvm/Intrinsics.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'include') 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... -- cgit v1.1