X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Fbe%2Fbenode.c;h=87c0b84734233ed31881fa6abe2077f879cfb812;hb=b4647d67ab7885d5da32c2a30242fbc4ed93d81b;hp=af80475c6d6171e26c8c89e1e22aa8b701e89ffa;hpb=07ce9818702faae854ee98b17e94a30a7a7022b5;p=libfirm diff --git a/ir/be/benode.c b/ir/be/benode.c index af80475c6..87c0b8473 100644 --- a/ir/be/benode.c +++ b/ir/be/benode.c @@ -1077,7 +1077,8 @@ ir_node *be_new_Phi(ir_node *block, int n_ins, ir_node **ins, ir_mode *mode, const arch_register_class_t *cls) { const arch_register_req_t *req; - struct obstack *obst = be_get_be_obst(get_irn_irg(block)); + ir_graph *irg = get_irn_irg(block); + struct obstack *obst = be_get_be_obst(irg); backend_info_t *info; int i; @@ -1259,7 +1260,7 @@ static void copy_attr(ir_graph *irg, const ir_node *old_node, ir_node *new_node) if (old_info->out_infos != NULL) { unsigned n_outs = ARR_LEN(old_info->out_infos); /* need dyanmic out infos? */ - if (be_is_Barrier(new_node) || be_is_Perm(new_node)) { + if (be_is_Barrier(new_node) || be_is_Perm(new_node)) { new_info->out_infos = NEW_ARR_F(reg_out_info_t, n_outs); } else { new_info->out_infos = NEW_ARR_D(reg_out_info_t, obst, n_outs); @@ -1301,7 +1302,6 @@ static const ir_op_ops be_node_op_ops = { NULL, NULL, NULL, - NULL, dump_node, NULL, &be_node_irn_ops