Commit 02d2feee authored by Christoph Mallon's avatar Christoph Mallon
Browse files

be: Give the operand of be_IncSP a symbolic name.

parent 2debf302
......@@ -373,13 +373,13 @@ const arch_register_req_t *be_create_reg_req(struct obstack *obst,
ir_node *be_get_IncSP_pred(ir_node *irn)
return get_irn_n(irn, 0);
return get_irn_n(irn, n_be_IncSP_pred);
void be_set_IncSP_pred(ir_node *incsp, ir_node *pred)
set_irn_n(incsp, 0, pred);
set_irn_n(incsp, n_be_IncSP_pred, pred);
void be_set_IncSP_offset(ir_node *irn, int offset)
......@@ -101,6 +101,10 @@ ir_node *be_new_MemPerm(ir_node *block, int n, ir_node *const *in);
ir_node *be_new_Keep(ir_node *block, int arity, ir_node *const *in);
ir_node *be_new_Keep_one(ir_node *kept);
enum {
* Make a stack pointer increase/decrease node.
* @param sp The stack pointer register.
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