Commit 7049fd07 authored by Christoph Mallon's avatar Christoph Mallon
Browse files

Remove the unused parameter const arch_env_t *arch_env from be_set_phi_reg_req().

[r22739]
parent f8cd551d
......@@ -2366,7 +2366,7 @@ void be_abi_fix_stack_nodes(be_abi_irg_t *env)
len = ARR_LEN(phis);
for(i = 0; i < len; ++i) {
ir_node *phi = phis[i];
be_set_phi_reg_req(walker_env.arch_env, phi, &env->sp_req);
be_set_phi_reg_req(phi, &env->sp_req);
be_set_phi_flags(walker_env.arch_env, phi, arch_irn_flags_ignore | arch_irn_flags_modify_sp);
arch_set_irn_register(phi, env->arch_env->sp);
}
......
......@@ -1342,11 +1342,9 @@ const arch_register_req_t *phi_get_irn_reg_req(const ir_node *irn, int pos)
return &attr->req;
}
void be_set_phi_reg_req(const arch_env_t *arch_env, ir_node *node,
const arch_register_req_t *req)
void be_set_phi_reg_req(ir_node *node, const arch_register_req_t *req)
{
phi_attr_t *attr;
(void) arch_env;
assert(mode_is_datab(get_irn_mode(node)));
......
......@@ -513,8 +513,7 @@ void be_phi_handler_reset(void);
/**
* Set the register requirements for a phi node.
*/
void be_set_phi_reg_req(const arch_env_t *arch_env, ir_node *phi,
const arch_register_req_t *req);
void be_set_phi_reg_req(ir_node *phi, const arch_register_req_t *req);
/*
* Set flags for a phi 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