[llvm-commits] CVS: llvm/include/llvm/CodeGen/SelectionDAGNodes.h

Jim Laskey jlaskey at apple.com
Wed Feb 21 14:37:38 PST 2007



Changes in directory llvm/include/llvm/CodeGen:

SelectionDAGNodes.h updated: 1.177 -> 1.178
---
Log message:

Add new instructions for handling data passed into eh landing pad.

---
Diffs of the changes:  (+9 -1)

 SelectionDAGNodes.h |   10 +++++++++-
 1 files changed, 9 insertions(+), 1 deletion(-)


Index: llvm/include/llvm/CodeGen/SelectionDAGNodes.h
diff -u llvm/include/llvm/CodeGen/SelectionDAGNodes.h:1.177 llvm/include/llvm/CodeGen/SelectionDAGNodes.h:1.178
--- llvm/include/llvm/CodeGen/SelectionDAGNodes.h:1.177	Wed Feb 14 21:39:17 2007
+++ llvm/include/llvm/CodeGen/SelectionDAGNodes.h	Wed Feb 21 16:37:22 2007
@@ -91,6 +91,14 @@
     // 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 @@
     //   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.






More information about the llvm-commits mailing list