X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Fbe%2Fbenode.c;h=79739b7de8a763d502adeec1cdcf5625990d06a8;hb=157db987d55561de571b55677d56ab20c787ea90;hp=796cf4d9df212d25285bc625124ba491a866d6d9;hpb=f98bd08427387a9c8cd61ec91101172e20373acf;p=libfirm diff --git a/ir/be/benode.c b/ir/be/benode.c index 796cf4d9d..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; @@ -1278,7 +1278,7 @@ static int dump_node(ir_node *irn, FILE *f, dump_reason_t reason) { be_stack_attr_t *a = (be_stack_attr_t *) at; fprintf(f, "offset: %u\n", a->offset); - fprintf(f, "direction: %s\n", a->dir == be_stack_dir_along ? "along" : "against"); + fprintf(f, "direction: %s\n", a->dir == be_stack_dir_expand ? "expand" : "shrink"); } break; }