Commit 5098c6d0 authored by Michael Beck's avatar Michael Beck
Browse files

Explicitly initialize the is_load_store attribute.

[r27805]
parent 64a28ffc
......@@ -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);
......
......@@ -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;
/**
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment