From eb24b543ae9eceeb30bdeecfab8e0f243b52cfd5 Mon Sep 17 00:00:00 2001 From: Michael Beck Date: Tue, 28 Mar 2006 02:48:00 +0000 Subject: [PATCH] be_Return constructor now takes a debug info --- ir/be/beabi.c | 2 +- ir/be/benode.c | 6 +++--- ir/be/benode_t.h | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/ir/be/beabi.c b/ir/be/beabi.c index 7c7a3014a..9220fce57 100644 --- a/ir/be/beabi.c +++ b/ir/be/beabi.c @@ -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) diff --git a/ir/be/benode.c b/ir/be/benode.c index 242aa7211..79739b7de 100644 --- a/ir/be/benode.c +++ b/ir/be/benode.c @@ -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; diff --git a/ir/be/benode_t.h b/ir/be/benode_t.h index 3e620c4f4..eff676fcd 100644 --- a/ir/be/benode_t.h +++ b/ir/be/benode_t.h @@ -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); -- 2.20.1