Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Zwinkau
libfirm
Commits
5098c6d0
Commit
5098c6d0
authored
Jul 24, 2010
by
Michael Beck
Browse files
Explicitly initialize the is_load_store attribute.
[r27805]
parent
64a28ffc
Changes
2
Hide whitespace changes
Inline
Side-by-side
ir/be/arm/arm_new_nodes.c
View file @
5098c6d0
...
...
@@ -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
);
...
...
ir/be/arm/arm_nodes_attr.h
View file @
5098c6d0
...
...
@@ -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
;
/**
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment