X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Fopt%2Fifconv.c;h=22ab6f068cb8c8c184478fd02a65062a67b50a2d;hb=8c9921a1fc166552f6e416434fd8394a4fc210a3;hp=87cb43d088d0be5f51f362ad73c8438fb1f5a1dc;hpb=2232b14b4acf810ae96a69d1d2a33cf150b695d9;p=libfirm diff --git a/ir/opt/ifconv.c b/ir/opt/ifconv.c index 87cb43d08..22ab6f068 100644 --- a/ir/opt/ifconv.c +++ b/ir/opt/ifconv.c @@ -21,7 +21,6 @@ * @file ir/opt/ifconv.c * @brief If conversion * @author Christoph Mallon - * @version $Id$ */ #include "config.h" @@ -53,7 +52,7 @@ typedef struct walker_env { bool changed; /**< Set if the graph was changed. */ } walker_env; -DEBUG_ONLY(static firm_dbg_module_t *dbg); +DEBUG_ONLY(static firm_dbg_module_t *dbg;) /** * Returns non-zero if a Block can be emptied. @@ -497,9 +496,9 @@ static ir_graph_state_t do_ifconv(ir_graph *irg) return IR_GRAPH_STATE_NO_CRITICAL_EDGES | IR_GRAPH_STATE_ONE_RETURN; } -optdesc_t opt_ifconv = { +static optdesc_t opt_ifconv = { "if-conversion", - IR_GRAPH_STATE_NO_CRITICAL_EDGES | IR_GRAPH_STATE_NO_UNREACHABLE_BLOCKS | IR_GRAPH_STATE_NO_BAD_BLOCKS | IR_GRAPH_STATE_ONE_RETURN, + IR_GRAPH_STATE_NO_CRITICAL_EDGES | IR_GRAPH_STATE_NO_UNREACHABLE_CODE | IR_GRAPH_STATE_NO_BADS | IR_GRAPH_STATE_ONE_RETURN, do_ifconv, };