/* Level graph. The levels go from 0 at the leaves to N_LEVELS at the root. The opt_state->levels array points to the first node of the level list, whose elements are linked with the 'link' field of the struct block.  */
static void find_levels(opt_state_t *opt_state, struct icode *ic)
/* Level graph. The levels go from 0 at the leaves to N_LEVELS at the root. The opt_state->levels array points to the first node of the level list, whose elements are linked with the 'link' field of the struct block.  */
static void find_levels(opt_state_t *opt_state, struct icode *ic)
{
	memset((char *)opt_state->levels, 0, opt_state->n_blocks * sizeof(*opt_state->levels));
	unMarkAll(ic);
	find_levels_r(opt_state, ic, ic->root);
}