removed unused got_lea attribute
authorMichael Beck <beck@ipd.info.uni-karlsruhe.de>
Tue, 16 Oct 2007 14:06:53 +0000 (14:06 +0000)
committerMichael Beck <beck@ipd.info.uni-karlsruhe.de>
Tue, 16 Oct 2007 14:06:53 +0000 (14:06 +0000)
[r16235]

ir/be/ia32/ia32_new_nodes.c
ir/be/ia32/ia32_new_nodes.h
ir/be/ia32/ia32_nodes_attr.h

index c323d38..199ceb7 100644 (file)
@@ -294,9 +294,6 @@ static int ia32_dump_node(ir_node *n, FILE *F, dump_reason_t reason) {
                        /* commutative */
                        fprintf(F, "commutative = %d\n", is_ia32_commutative(n));
 
-                       /* got lea */
-                       fprintf(F, "got loea = %d\n", is_ia32_got_lea(n));
-
                        /* need stackent */
                        fprintf(F, "need stackent = %d\n", is_ia32_need_stackent(n));
 
@@ -597,30 +594,6 @@ int is_ia32_commutative(const ir_node *node) {
        return attr->data.is_commutative;
 }
 
-/**
- * Sets node got_lea.
- */
-void set_ia32_got_lea(ir_node *node) {
-       ia32_attr_t *attr  = get_ia32_attr(node);
-       attr->data.got_lea = 1;
-}
-
-/**
- * Clears node got_lea.
- */
-void clear_ia32_got_lea(ir_node *node) {
-       ia32_attr_t *attr  = get_ia32_attr(node);
-       attr->data.got_lea = 0;
-}
-
-/**
- * Checks if node got lea.
- */
-int is_ia32_got_lea(const ir_node *node) {
-       const ia32_attr_t *attr = get_ia32_attr_const(node);
-       return attr->data.got_lea;
-}
-
 void set_ia32_need_stackent(ir_node *node) {
        ia32_attr_t *attr     = get_ia32_attr(node);
        attr->data.need_stackent = 1;
index 98a2d7b..ea8fb75 100644 (file)
@@ -182,21 +182,6 @@ void clear_ia32_commutative(ir_node *node);
  */
 int is_ia32_commutative(const ir_node *node);
 
-/**
- * Sets node got_lea.
- */
-void set_ia32_got_lea(ir_node *node);
-
-/**
- * Clears node got_lea.
- */
-void clear_ia32_got_lea(ir_node *node);
-
-/**
- * Checks if node got lea.
- */
-int is_ia32_got_lea(const ir_node *node);
-
 /**
  * Sets node needs_stackent
  */
@@ -208,7 +193,7 @@ void set_ia32_need_stackent(ir_node *node);
 void clear_ia32_need_stackent(ir_node *node);
 
 /**
- * Checks if node needs a stackentity assigned
+ * Checks if node needs a stack entity assigned
  */
 int is_ia32_need_stackent(const ir_node *node);
 
index db35fcc..319af8d 100644 (file)
@@ -40,9 +40,9 @@ typedef enum {
 } ia32_op_type_t;
 
 typedef        enum {
-       ia32_am_None   = 0,   /**<< no addrmode support */
+       ia32_am_None   = 0,   /**< no addrmode support */
        ia32_am_Dest   = 1,
-       ia32_am_Source = 2,   /**<< addrmode for source only */
+       ia32_am_Source = 2,   /**< addrmode for source only */
        ia32_am_Full   = 3
 } ia32_am_type_t;
 
@@ -93,8 +93,6 @@ struct ia32_attr_t {
 
                unsigned is_commutative:1;  /**< Indicates whether op is commutative or not. */
 
-               unsigned got_lea:1;         /**< Indicates whether or not this node already consumed a LEA. */
-
                unsigned need_stackent:1;   /**< Set to 1 if node need space on stack. */
                unsigned need_64bit_stackent:1; /**< needs a 64bit stack entity (see double->unsigned int conv) */
                unsigned need_32bit_stackent:1; /**< needs a 32bit stack entity */