Fixed some obviously wrong conditions.
[libfirm] / ir / ir / irtypes.h
index d071aab..6122c8e 100644 (file)
@@ -188,9 +188,10 @@ typedef struct {
 
 /** Call attributes. */
 typedef struct {
-       except_attr    exc;           /**< the exception attribute. MUST be the first one. */
-       ir_type *type;                /**< type of called procedure */
-       ir_entity ** callee_arr;      /**< result of callee analysis */
+       except_attr exc;               /**< the exception attribute. MUST be the first one. */
+       ir_type     *type;             /**< type of called procedure */
+       ir_entity   **callee_arr;      /**< result of callee analysis */
+       unsigned    tail_call:1;       /**< if set, can be a tail call */
 } call_attr;
 
 /** Builtin attributes. */
@@ -507,6 +508,7 @@ struct ir_graph {
 
        int index;                         /**< a unique number for each graph */
        ir_phase *phases[PHASE_LAST];      /**< Phase information. */
+       void     *be_data;                 /**< backend can put in private data here */
 #ifdef DEBUG_libfirm
        int   n_outs;                      /**< Size wasted for outs */
        long graph_nr;                     /**< a unique graph number for each