From 7aa27d679102973af53c5ea445510066ceedda85 Mon Sep 17 00:00:00 2001 From: Florian Liekweg Date: Tue, 12 Feb 2002 13:03:13 +0000 Subject: [PATCH] ircons.c: Fixed typo introduced on last checkin irdump.c: IrBlocks that are not mature are dumped with red background -- flo [r310] --- ir/ir/ircons.c | 2 +- ir/ir/irdump.c | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/ir/ir/ircons.c b/ir/ir/ircons.c index 19ac47bde..e07a710d6 100644 --- a/ir/ir/ircons.c +++ b/ir/ir/ircons.c @@ -1366,7 +1366,7 @@ mature_block (ir_node *block) these, too. **/ for (n = block->link; n; n=next) { inc_irg_visited(current_ir_graph); -e next = n->link; + next = n->link; exchange (n, phi_merge (block, n->attr.phi0_pos, n->mode, nin, ins)); } diff --git a/ir/ir/irdump.c b/ir/ir/irdump.c index 748b9062f..0ebc0b08d 100644 --- a/ir/ir/irdump.c +++ b/ir/ir/irdump.c @@ -931,7 +931,8 @@ dump_ir_block (ir_node *block, void *env) { #else xfprintf (F, "%I", block->op->name); #endif - xfprintf(F, "\" status:clustered color:lightyellow \n"); + xfprintf(F, "\" status:clustered color:%s \n", + get_Block_matured (block) ? "yellow" : "red"); /* dump the blocks edges */ dump_ir_data_edges(block); -- 2.20.1