public static void optimizeCFG(final FlowGraph cfg) {

		final List blocks = cfg.preOrder();
		for (final Iterator it = blocks.iterator(); it.hasNext();) {
			((Block) it.next()).stackOptimizer().optimize();
		}

	}