summaryrefslogtreecommitdiffhomepage
path: root/ir/be/benode.h
diff options
context:
space:
mode:
authorChristoph Mallon <christoph.mallon@gmx.de>2018-02-21 08:56:47 +0100
committerChristoph Mallon <christoph.mallon@gmx.de>2018-02-26 14:02:40 +0100
commit2ed291c646ac94c8c725b14bc42ef8c073b8fc3f (patch)
treeb76615de11b31f8e831ce113e4308d393ee78ffa /ir/be/benode.h
parente3fa1ebd7a23409799ec92a617ed1b59135b05f3 (diff)
be: Remove the redundant parameter 'mode' from be_new_Phi().
Just like be_new_Phi0() get the mode from the parameter 'req'.
Diffstat (limited to 'ir/be/benode.h')
-rw-r--r--ir/be/benode.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/ir/be/benode.h b/ir/be/benode.h
index eb7b7be..9b8aec3 100644
--- a/ir/be/benode.h
+++ b/ir/be/benode.h
@@ -170,8 +170,7 @@ void be_set_phi_reg_req(ir_node *phi, const arch_register_req_t *req);
/**
* Creates a new phi with associated backend informations
*/
-ir_node *be_new_Phi(ir_node *block, int n_ins, ir_node **ins, ir_mode *mode,
- const arch_register_req_t *req);
+ir_node *be_new_Phi(ir_node *block, int n_ins, ir_node **ins, arch_register_req_t const *req);
/**
* Create a new Phi with backend info and without inputs.