X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Fir%2Firssacons.c;h=4607870b40b26ed3d5737cd9b95bea4e6dc8fad9;hb=e9788b1182b08e303f11c0df45a8a2f72955e520;hp=aa5ec782f7c1fa8d1331fa6e3b9f2e82bb74ac7c;hpb=ffbc2525c2dd6a72471461165227e2ae5fed7ae4;p=libfirm diff --git a/ir/ir/irssacons.c b/ir/ir/irssacons.c index aa5ec782f..4607870b4 100644 --- a/ir/ir/irssacons.c +++ b/ir/ir/irssacons.c @@ -34,7 +34,8 @@ * Post-walker: prepare the graph nodes for new SSA construction cycle by allocation * new arrays. */ -static void prepare_nodes(ir_node *irn, void *env) { +static void prepare_nodes(ir_node *irn, void *env) +{ (void)env; switch (get_irn_opcode(irn)) { @@ -104,7 +105,8 @@ static void prepare_nodes(ir_node *irn, void *env) { * again and set_value()/get_value() and mature_block() can be used * to construct new values. */ -void ssa_cons_start(ir_graph *irg, int n_loc) { +void ssa_cons_start(ir_graph *irg, int n_loc) +{ /* for now we support only phase_high graphs */ assert(irg->phase_state == phase_high); @@ -124,7 +126,8 @@ void ssa_cons_start(ir_graph *irg, int n_loc) { /** * mature all immature Blocks. */ -static void finish_block(ir_node *block, void *env) { +static void finish_block(ir_node *block, void *env) +{ (void)env; if (!get_Block_matured(block)) @@ -135,7 +138,8 @@ static void finish_block(ir_node *block, void *env) { * Finalize the (restarted) SSA construction. Matures all blocks that are * not matured yet and reset the graph state to phase_high. */ -void ssa_cons_finish(ir_graph *irg) { +void ssa_cons_finish(ir_graph *irg) +{ irg_block_walk_graph(irg, NULL, finish_block, NULL); irg_finalize_cons(irg); }