Commit eb24b543 authored by Michael Beck's avatar Michael Beck
Browse files

be_Return constructor now takes a debug info

parent 86ee9d30
......@@ -1340,7 +1340,7 @@ static void modify_irg(be_abi_irg_t *env)
}
/* The in array for the new back end return is now ready. */
ret = be_new_Return(irg, bl, n, in);
ret = be_new_Return(get_irn_dbg_info(irn), irg, bl, n, in);
/* Set the register classes of the return's parameter accordingly. */
for(i = 0; i < n; ++i)
......
......@@ -92,7 +92,7 @@ typedef struct {
typedef struct {
be_node_attr_t node_attr;
int offset; /**< The offset by which the stack shall be increased/decreased. */
be_stack_dir_t dir; /**< The direction in which the stack shall be modified (along or in the other direction). */
be_stack_dir_t dir; /**< The direction in which the stack shall be modified (expand or shrink). */
} be_stack_attr_t;
typedef struct {
......@@ -370,9 +370,9 @@ void be_Call_set_entity(ir_node *call, entity *ent)
a->ent = ent;
}
ir_node *be_new_Return(ir_graph *irg, ir_node *bl, int n, ir_node *in[])
ir_node *be_new_Return(dbg_info *dbg, ir_graph *irg, ir_node *bl, int n, ir_node *in[])
{
ir_node *irn = new_ir_node(NULL, irg, bl, op_be_Return, mode_X, n, in);
ir_node *irn = new_ir_node(dbg, irg, bl, op_be_Return, mode_X, n, in);
init_node_attr(irn, n);
return irn;
......
......@@ -167,7 +167,7 @@ enum {
};
ir_node *be_new_Call(ir_graph *irg, ir_node *bl, ir_node *mem, ir_node *sp, ir_node *ptr, int n_outs, int n, ir_node *in[]);
ir_node *be_new_Return(ir_graph *irg, ir_node *bl, int n, ir_node *in[]);
ir_node *be_new_Return(dbg_info *dbg, ir_graph *irg, ir_node *bl, int n, ir_node *in[]);
ir_node *be_new_StackParam(const arch_register_class_t *cls, const arch_register_class_t *cls_frame, ir_graph *irg, ir_node *bl, ir_mode *mode, ir_node *frame_pointer, entity *ent);
ir_node *be_new_RegParams(ir_graph *irg, ir_node *bl, int n_out);
......
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