[Mono-devel-list] Removal of critical edges

Ben Maurer bmaurer at ximian.com
Tue Nov 16 22:09:31 EST 2004


Two things I just noticed:

I think you need to maintain cfg->bblocks.

Also,
> +	for (bb = cfg->bb_entry; bb; bb = bb->next_bb) {
> +		if (bb->out_count > 1) {
> [...]
> +		}
> +	}

It would be much, much cleaner to have:

if (bb->out_count <= 1)
	continue;

This saves an entire level of indentation.

-- Ben




More information about the Mono-devel-list mailing list