Renamed attr.load.load_mode to attr.load.mode
authorMoritz Kroll <Moritz.Kroll@gmx.de>
Mon, 30 Mar 2009 10:05:01 +0000 (10:05 +0000)
committerMoritz Kroll <Moritz.Kroll@gmx.de>
Mon, 30 Mar 2009 10:05:01 +0000 (10:05 +0000)
[r25750]

ir/ir/ircons.c
ir/ir/irnode.c
ir/ir/irtypes.h

index 4eb9079..4f23fbf 100644 (file)
@@ -549,7 +549,7 @@ new_bd_Load(dbg_info *db, ir_node *block,
        in[1] = adr;
        res = new_ir_node(db, irg, block, op_Load, mode_T, 2, in);
        res->attr.load.exc.pin_state = flags & cons_floats ? op_pin_state_floats : op_pin_state_pinned;
-       res->attr.load.load_mode     = mode;
+       res->attr.load.mode          = mode;
        res->attr.load.volatility    = flags & cons_volatile ? volatility_is_volatile : volatility_non_volatile;
        res->attr.load.aligned       = flags & cons_unaligned ? align_non_aligned : align_is_aligned;
        res = optimize_node(res);
index d16aaf0..6a25cf1 100644 (file)
@@ -1836,13 +1836,13 @@ set_Load_ptr(ir_node *node, ir_node *ptr) {
 ir_mode *
 get_Load_mode(const ir_node *node) {
        assert(is_Load(node));
-       return node->attr.load.load_mode;
+       return node->attr.load.mode;
 }
 
 void
 set_Load_mode(ir_node *node, ir_mode *mode) {
        assert(is_Load(node));
-       node->attr.load.load_mode = mode;
+       node->attr.load.mode = mode;
 }
 
 ir_volatility
index d99512b..8cc590d 100644 (file)
@@ -242,7 +242,7 @@ typedef struct {
        except_attr   exc;            /**< The exception attribute. MUST be the first one. */
     unsigned      volatility:1;   /**< The volatility of this Load operation. */
     unsigned      aligned:1;      /**< The align attribute of this Load operation. */
-       ir_mode       *load_mode;     /**< The mode of this Load operation. */
+       ir_mode       *mode;          /**< The mode of this Load operation. */
 } load_attr;
 
 /** Store attributes. */