summaryrefslogtreecommitdiffhomepage
path: root/ir/be/benode.h
diff options
context:
space:
mode:
authorChristoph Mallon <christoph.mallon@gmx.de>2018-02-21 08:53:26 +0100
committerChristoph Mallon <christoph.mallon@gmx.de>2018-02-26 14:02:40 +0100
commite3fa1ebd7a23409799ec92a617ed1b59135b05f3 (patch)
treebece90d28803425e2a5b538fc3adfc7a5e8c123e /ir/be/benode.h
parente914dc9ccfc77ebfeedfeb631d99eec37a8e9557 (diff)
be: Remove the redundant parameter 'sp' from be_new_IncSP().
It only needs the register class, not the specific stack pointer register. So simply get the register class from the parameter 'old_sp'.
Diffstat (limited to 'ir/be/benode.h')
-rw-r--r--ir/be/benode.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/ir/be/benode.h b/ir/be/benode.h
index 7605203..eb7b7be 100644
--- a/ir/be/benode.h
+++ b/ir/be/benode.h
@@ -110,7 +110,6 @@ enum {
/**
* Make a stack pointer increase/decrease node.
- * @param sp The stack pointer register.
* @param block The block to insert the node into.
* @param old_sp The node defining the former stack pointer.
* @param offset amount the stack should expand (positive offset) or shrink
@@ -122,8 +121,7 @@ enum {
* @note This node sets a register constraint to the @p sp register on
* its output.
*/
-ir_node *be_new_IncSP(const arch_register_t *sp, ir_node *block,
- ir_node *old_sp, int offset, bool no_align);
+ir_node *be_new_IncSP(ir_node *block, ir_node *old_sp, int offset, bool no_align);
/** Returns the previous node that computes the stack pointer. */
ir_node *be_get_IncSP_pred(ir_node *incsp);