Add new instructions for handling data passed into eh landing pad.
authorJim Laskey <jlaskey@mac.com>
Wed, 21 Feb 2007 22:37:22 +0000 (22:37 +0000)
committerJim Laskey <jlaskey@mac.com>
Wed, 21 Feb 2007 22:37:22 +0000 (22:37 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34472 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/CodeGen/SelectionDAGNodes.h

index fd976f91e9c296e6e241b3a980b56cb375e81795..066dc6525dacc4c7b2588edf3a5e26c0b0193233 100644 (file)
@@ -91,6 +91,14 @@ namespace ISD {
     // to the current function's frame or return address, an index of one to the
     // parent's frame or return address, and so on.
     FRAMEADDR, RETURNADDR,
+    
+    // RESULT, OUTCHAIN = EXCEPTIONADDR(INCHAIN) - This node represents the
+    // address of the exception block on entry to an landing pad block.
+    EXCEPTIONADDR,
+    
+    // RESULT, OUTCHAIN = EHSELECTION(INCHAIN, EXCEPTION) - This node represents
+    // the selection index of the exception thrown.
+    EHSELECTION,
 
     // TargetConstant* - Like Constant*, but the DAG does not do any folding or
     // simplification of the constant.
@@ -457,7 +465,7 @@ namespace ISD {
     //   Operand #0 : input chain.
     //   Operand #1 : module unique number use to identify the label.
     LABEL,
-
+    
     // STACKSAVE - STACKSAVE has one operand, an input chain.  It produces a
     // value, the same type as the pointer type for the system, and an output
     // chain.