Commit 7fe8c980 authored by Michael Beck's avatar Michael Beck
Browse files

arch_get_frame_entity() now takes a const irnode *

parent b4342303
......@@ -116,7 +116,7 @@ void arch_set_frame_offset(const arch_env_t *env, ir_node *irn, int offset)
ops->impl->set_frame_offset(ops, irn, offset);
ir_entity *arch_get_frame_entity(const arch_env_t *env, ir_node *irn)
ir_entity *arch_get_frame_entity(const arch_env_t *env, const ir_node *irn)
const arch_irn_ops_t *ops = get_irn_ops(env, irn);
return ops->impl->get_frame_entity(ops, irn);
......@@ -140,7 +140,7 @@ extern const arch_irn_ops_t *arch_get_irn_ops(const arch_env_t *env,
extern void arch_set_frame_offset(const arch_env_t *env, ir_node *irn, int bias);
extern ir_entity *arch_get_frame_entity(const arch_env_t *env, ir_node *irn);
extern ir_entity *arch_get_frame_entity(const arch_env_t *env, const ir_node *irn);
extern void arch_set_frame_entity(const arch_env_t *env, ir_node *irn, ir_entity *ent);
extern int arch_get_sp_bias(const arch_env_t *env, ir_node *irn);
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