rethrow is really the language independent primitive here. "throw" can be written
authorChris Lattner <sabre@nondot.org>
Sun, 24 Aug 2003 12:24:03 +0000 (12:24 +0000)
committerChris Lattner <sabre@nondot.org>
Sun, 24 Aug 2003 12:24:03 +0000 (12:24 +0000)
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

index 5c143629186127084f8b33bf6091e9e530e964e7..6c7f6c534a66f8e06b000382564824ef672ecc37 100644 (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...