Explicitly initialize the is_load_store attribute.
authorMichael Beck <beck@ipd.info.uni-karlsruhe.de>
Sat, 24 Jul 2010 01:24:34 +0000 (01:24 +0000)
committerMichael Beck <beck@ipd.info.uni-karlsruhe.de>
Sat, 24 Jul 2010 01:24:34 +0000 (01:24 +0000)
[r27805]

ir/be/arm/arm_new_nodes.c
ir/be/arm/arm_nodes_attr.h

index f4dc304..3023c3f 100644 (file)
@@ -369,6 +369,7 @@ static void init_arm_attributes(ir_node *node, int flags,
 
        arch_irn_set_flags(node, flags);
        attr->in_req           = in_reqs;
+       attr->is_load_store    = false;
 
        info            = be_get_info(node);
        info->out_infos = NEW_ARR_D(reg_out_info_t, obst, n_res);
index fac609b..b183ba1 100644 (file)
@@ -64,8 +64,8 @@ enum fpa_immediates {
 /** Generic ARM node attributes. */
 typedef struct arm_attr_t {
        except_attr                 exc;                /**< the exception attribute. MUST be the first one. */
-       const arch_register_req_t **in_req;  /**< register requirements for arguments */
-       bool                        is_load_store : 1;
+       const arch_register_req_t **in_req;             /**< register requirements for arguments */
+       bool                        is_load_store : 1;  /**< if set, this is a load or store instruction */
 } arm_attr_t;
 
 /**