Commit c23f6e06 authored by Götz Lindenmaier's avatar Götz Lindenmaier
Browse files

firmjni does not like two similar enums.

[r6051]
parent 98c8808e
...@@ -468,7 +468,6 @@ void set_InstOf_obj (ir_node *node, ir_node *obj); ...@@ -468,7 +468,6 @@ void set_InstOf_obj (ir_node *node, ir_node *obj);
*/ */
typedef enum { typedef enum {
pn_Call_M_regular = 0, /**< The memory result. */ 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_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 pn_Call_P_value_res_base = 4,/**< A pointer to the memory region containing copied results
passed by value (for compound result types). */ passed by value (for compound result types). */
...@@ -477,6 +476,7 @@ typedef enum { ...@@ -477,6 +476,7 @@ typedef enum {
an exception */ an exception */
pn_Call_max = 5 /**< number of projections from a Call */ pn_Call_max = 5 /**< number of projections from a Call */
} pn_Call; /* Projection numbers for Call. */ } pn_Call; /* Projection numbers for Call. */
#define pn_Call_M pn_Call_M_regular
ir_node *get_Call_mem (ir_node *node); ir_node *get_Call_mem (ir_node *node);
void set_Call_mem (ir_node *node, ir_node *mem); void set_Call_mem (ir_node *node, ir_node *mem);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment