X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Fopt%2Fcombo.c;h=505e24bebb25855c0b25e36b5a2a494ea6c8effa;hb=8c9921a1fc166552f6e416434fd8394a4fc210a3;hp=ad88f5ae868fe54c26d0bc88a995fbcb8afc1ceb;hpb=bd019d8cd785c1a433c19dee44bf3f9e82397286;p=libfirm diff --git a/ir/opt/combo.c b/ir/opt/combo.c index ad88f5ae8..505e24beb 100644 --- a/ir/opt/combo.c +++ b/ir/opt/combo.c @@ -454,9 +454,9 @@ static void dump_split_list(const partition_t *list) /** * Dump partition and type for a node. */ -static int dump_partition_hook(FILE *F, ir_node *n, ir_node *local) +static int dump_partition_hook(FILE *F, const ir_node *n, const ir_node *local) { - ir_node *irn = local != NULL ? local : n; + const ir_node *irn = local != NULL ? local : n; node_t *node = get_irn_node(irn); ir_fprintf(F, "info2 : \"partition %u type %+F\"\n", node->part->nr, node->type);