Commit 77e5f3d7 authored by Michael Beck's avatar Michael Beck
Browse files

fixed return type of be_set_IncSP_pred()

parent c6da6d54
......@@ -714,7 +714,7 @@ ir_node *be_get_IncSP_pred(ir_node *irn) {
return get_irn_n(irn, 0);
}
void *be_set_IncSP_pred(ir_node *incsp, ir_node *pred) {
void be_set_IncSP_pred(ir_node *incsp, ir_node *pred) {
assert(be_is_IncSP(incsp));
set_irn_n(incsp, 0, pred);
}
......
......@@ -158,7 +158,7 @@ ir_node *be_new_IncSP(const arch_register_t *sp, ir_graph *irg, ir_node *bl, ir_
ir_node *be_get_IncSP_pred(ir_node *incsp);
/** Sets the previous node that computes the stack pointer. */
void *be_set_IncSP_pred(ir_node *incsp, ir_node *pred);
void be_set_IncSP_pred(ir_node *incsp, ir_node *pred);
/** Returns the memory input of the IncSP. */
ir_node *be_get_IncSP_mem(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