X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=include%2Flibfirm%2Firgopt.h;h=169931d4fd0027ed50aa0ffd2242fa5c1d78cb3e;hb=2624fd65233bcb621cfbbf7dae1a1502a3d8bc75;hp=6df1c2f7b05191ef6c7ad0d2c399bec62100450a;hpb=fbe9e7db119eb320ecfa3b1e9911c55c38a97126;p=libfirm diff --git a/include/libfirm/irgopt.h b/include/libfirm/irgopt.h index 6df1c2f7b..169931d4f 100644 --- a/include/libfirm/irgopt.h +++ b/include/libfirm/irgopt.h @@ -77,19 +77,15 @@ FIRM_API void remove_unreachable_code(ir_graph *irg); * Removes all Bad nodes from a graph. * * @param irg The graph to be optimized. - * - * @return non-zero if at least one Bad was removed, otherwise 0 */ -FIRM_API int remove_bads(ir_graph *irg); +FIRM_API void remove_bads(ir_graph *irg); /** * Removes all Tuple nodes from a graph. * * @param irg The graph to be optimized. - * - * @return non-zero if at least one Tuple was removed, otherwise 0 */ -FIRM_API int remove_tuples(ir_graph *irg); +FIRM_API void remove_tuples(ir_graph *irg); /** * Creates an ir_graph pass for optimize_graph_df().