Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Zwinkau
libfirm
Commits
57072fa8
Commit
57072fa8
authored
Dec 28, 2014
by
Christoph Mallon
Browse files
be: Provide an inline implementation of arch_add_irn_flags().
parent
a8937c2e
Changes
2
Hide whitespace changes
Inline
Side-by-side
ir/be/bearch.c
View file @
57072fa8
...
...
@@ -96,12 +96,6 @@ void arch_set_irn_register(ir_node *node, const arch_register_t *reg)
out
->
reg
=
reg
;
}
void
arch_add_irn_flags
(
ir_node
*
node
,
arch_irn_flags_t
flags
)
{
backend_info_t
*
const
info
=
be_get_info
(
node
);
info
->
flags
|=
flags
;
}
bool
arch_reg_is_allocatable
(
const
arch_register_req_t
*
req
,
const
arch_register_t
*
reg
)
{
...
...
ir/be/bearch.h
View file @
57072fa8
...
...
@@ -157,7 +157,11 @@ static inline arch_irn_flags_t arch_get_irn_flags(const ir_node *node)
return
info
->
flags
;
}
void
arch_add_irn_flags
(
ir_node
*
node
,
arch_irn_flags_t
flags
);
static
inline
void
arch_add_irn_flags
(
ir_node
*
const
node
,
arch_irn_flags_t
const
flags
)
{
backend_info_t
*
const
info
=
be_get_info
(
node
);
info
->
flags
|=
flags
;
}
/**
* Returns true if the given node should not be scheduled (has
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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