Commit 5c5c4481 authored by Matthias Braun's avatar Matthias Braun
Browse files

amd64: Cleanup

parent dcbf442b
......@@ -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);
......
......@@ -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);
......
Supports Markdown
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