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
5c5c4481
Commit
5c5c4481
authored
Sep 19, 2015
by
Matthias Braun
Browse files
amd64: Cleanup
parent
dcbf442b
Changes
2
Hide whitespace changes
Inline
Side-by-side
ir/be/amd64/amd64_new_nodes.c
View file @
5c5c4481
...
...
@@ -271,7 +271,7 @@ static int amd64_switch_jmp_attrs_equal(const ir_node *const a,
}
static
int
amd64_call_addr_attrs_equal
(
const
ir_node
*
const
a
,
const
ir_node
*
const
b
)
const
ir_node
*
const
b
)
{
const
amd64_call_addr_attr_t
*
const
attr_a
=
get_amd64_call_addr_attr_const
(
a
);
...
...
ir/be/amd64/amd64_new_nodes.h
View file @
5c5c4481
...
...
@@ -109,7 +109,7 @@ static inline bool amd64_has_cc_attr(const ir_node *node)
}
static
inline
const
amd64_cc_attr_t
*
get_amd64_cc_attr_const
(
const
ir_node
*
node
)
const
ir_node
*
node
)
{
assert
(
amd64_has_cc_attr
(
node
));
return
(
const
amd64_cc_attr_t
*
)
get_irn_generic_attr_const
(
node
);
...
...
@@ -135,13 +135,13 @@ static inline amd64_movimm_attr_t *get_amd64_movimm_attr(ir_node *node)
}
static
inline
const
amd64_call_addr_attr_t
*
get_amd64_call_addr_attr_const
(
const
ir_node
*
node
)
const
ir_node
*
node
)
{
assert
(
is_amd64_call
(
node
));
return
(
const
amd64_call_addr_attr_t
*
)
get_irn_generic_attr_const
(
node
);
}
static
inline
amd64_call_addr_attr_t
*
get_amd64_call_addr_attr
(
ir_node
*
node
)
static
inline
amd64_call_addr_attr_t
*
get_amd64_call_addr_attr
(
ir_node
*
node
)
{
assert
(
is_amd64_call
(
node
));
return
(
amd64_call_addr_attr_t
*
)
get_irn_generic_attr
(
node
);
...
...
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