[llvm-commits] CVS: llvm/include/llvm/Intrinsics.h

Chris Lattner lattner at cs.uiuc.edu
Sun Aug 24 07:28:09 PDT 2003


Changes in directory llvm/include/llvm:

Intrinsics.h updated: 1.7 -> 1.8

---
Log message:

rethrow is really the language independent primitive here.  "throw" can be written
in terms of it and llvm.exc.setcurrent.

Rework these intrinsics.


---
Diffs of the changes:

Index: llvm/include/llvm/Intrinsics.h
diff -u llvm/include/llvm/Intrinsics.h:1.7 llvm/include/llvm/Intrinsics.h:1.8
--- llvm/include/llvm/Intrinsics.h:1.7	Sun Aug 24 00:30:24 2003
+++ llvm/include/llvm/Intrinsics.h	Sun Aug 24 07:24:03 2003
@@ -22,9 +22,10 @@
     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...





More information about the llvm-commits mailing list