public static void buildFrontier(final FlowGraph graph, boolean reverse) {
		if (!reverse) {
			DominanceFrontier.calcFrontier(graph.source(), graph, reverse);
		} else {
			DominanceFrontier.calcFrontier(graph.sink(), graph, reverse);
		}
	}