X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Fopt%2Freassoc.c;h=c008b150e8266135de1e0bc5a09c352b62182500;hb=a1e9069afa4fa1e16e2d176bcd7905d6a1ed4677;hp=319a80a395375af28b319ae35ece4bc4b9cef418;hpb=ea75e9d38674b468f602a0699fb64b9c01254797;p=libfirm diff --git a/ir/opt/reassoc.c b/ir/opt/reassoc.c index 319a80a39..c008b150e 100644 --- a/ir/opt/reassoc.c +++ b/ir/opt/reassoc.c @@ -48,7 +48,7 @@ DEBUG_ONLY(static firm_dbg_module_t *dbg;) -typedef struct _walker_t { +typedef struct walker_t { int changes; /**< set, if a reassociation take place */ waitq *wq; /**< a wait queue */ } walker_t; @@ -589,7 +589,7 @@ static void wq_walker(ir_node *n, void *env) walker_t *wenv = env; set_irn_link(n, NULL); - if (is_no_Block(n)) { + if (!is_Block(n)) { ir_node *blk = get_nodes_block(n); if (is_Block_dead(blk) || get_Block_dom_depth(blk) < 0) {