Commit 641c8d10 authored by Christoph Mallon's avatar Christoph Mallon
Browse files

Remove the unused parameter const arch_env_t *env from arch_set_frame_offset().

parent d64ea79e
......@@ -2403,7 +2403,7 @@ static int process_stack_bias(be_abi_irg_t *env, ir_node *bl, int real_bias)
if (ent) {
int bias = omit_fp ? real_bias : 0;
int offset = get_stack_entity_offset(&env->frame, ent, bias);
arch_set_frame_offset(arch_env, irn, offset);
arch_set_frame_offset(irn, offset);
DBG((env->dbg, LEVEL_2, "%F has offset %d (including bias %d)\n",
ent, offset, bias));
......@@ -90,10 +90,9 @@ const arch_register_req_t *arch_get_register_req(const ir_node *irn, int pos)
return ops->get_irn_reg_req(irn, pos);
void arch_set_frame_offset(const arch_env_t *env, ir_node *irn, int offset)
void arch_set_frame_offset(ir_node *irn, int offset)
const arch_irn_ops_t *ops = get_irn_ops(irn);
(void)env; // TODO remove parameter
ops->set_frame_offset(irn, offset);
......@@ -133,7 +133,7 @@ typedef enum arch_irn_flags_t {
extern const char *arch_irn_flag_str(arch_irn_flags_t flag);
extern void arch_set_frame_offset(const arch_env_t *env, ir_node *irn, int bias);
void arch_set_frame_offset(ir_node *irn, int bias);
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);
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