firmjni does not like two similar enums.
[libfirm] / ir / ir / irnode.h
index cb65496..5a97ff2 100644 (file)
@@ -468,7 +468,6 @@ void    set_InstOf_obj (ir_node *node, ir_node *obj);
  */
 typedef enum {
   pn_Call_M_regular = 0,  /**< The memory result. */
-  pn_Call_M         = 0,  /**< The memory result. */
   pn_Call_T_result  = 2,  /**< The tuple containing all (0, 1, 2, ...) results */
   pn_Call_P_value_res_base = 4,/**< A pointer to the memory region containing copied results
                  passed by value (for compound result types). */
@@ -477,6 +476,7 @@ typedef enum {
                  an exception */
   pn_Call_max       = 5   /**< number of projections from a Call */
 } pn_Call;   /* Projection numbers for Call. */
+#define pn_Call_M pn_Call_M_regular
 
 ir_node *get_Call_mem (ir_node *node);
 void     set_Call_mem (ir_node *node, ir_node *mem);
@@ -681,11 +681,11 @@ typedef enum {
 /** returns the pnc name from an pnc constant */
 const char *get_pnc_string(int pnc);
 
-/** Calculates the negated pnc condition. */
+/** Calculates the negated (Complement(R)) pnc condition. */
 int         get_negated_pnc(int pnc);
 
-/** Calculates the swapped pnc condition, i.e., "<" --> ">" */
-int         get_swapped_pnc(int pnc);
+/** Calculates the inversed (R^-1) pnc condition, i.e., "<" --> ">" */
+int         get_inversed_pnc(int pnc);
 
 ir_node *get_Cmp_left (ir_node *node);
 void     set_Cmp_left (ir_node *node, ir_node *left);