fixed be_Return gen
[libfirm] / ir / be / ia32 / ia32_nodes_attr.h
index 2b89bd2..1bafa75 100644 (file)
@@ -1,3 +1,9 @@
+/**
+ * Type definitions for ia32 node attributes.
+ * @author Christian Wuerdig
+ * $Id$
+ */
+
 #ifndef _IA32_NODES_ATTR_H_
 #define _IA32_NODES_ATTR_H_
 
@@ -88,11 +94,14 @@ typedef struct _ia32_attr_t {
 
                unsigned emit_cl:1;         /**< indicates whether we must emit cl instead of ecx (needed for shifts) */
 
-               unsigned n_res:8;           /**< number of results produced by this node */
+               unsigned got_lea:1;         /**< indicates whether or not this node already consumed a LEA */
+
+               unsigned n_res:7;           /**< number of results produced by this node */
        } data;
 
-       struct obstack *am_offs;    /**< offsets for AddrMode */
-       ident          *am_sc;      /**< SymConst for AddrMode */
+       struct obstack *am_offs;     /**< offsets for AddrMode */
+       struct obstack *plain_offs;  /**< obstack for plain am_offs */
+       ident          *am_sc;       /**< SymConst for AddrMode */
 
        union {
                tarval *tv;     /**< tarval for immediate operations */