X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Fana%2Firlivechk.c;h=b5404de703dbf7c21125f9d721037a9933d44816;hb=109a60bfcf239f2b5304c709a430658920c287cf;hp=39090bc031bd3540c2843f579388f0590004cab8;hpb=0e5f781d021c0b1e20ba08f583d4971419fedb5d;p=libfirm diff --git a/ir/ana/irlivechk.c b/ir/ana/irlivechk.c index 39090bc03..b5404de70 100644 --- a/ir/ana/irlivechk.c +++ b/ir/ana/irlivechk.c @@ -112,6 +112,7 @@ static INLINE int is_liveness_node(const ir_node *irn) case iro_Block: case iro_Bad: case iro_End: + case iro_Anchor: return 0; default:; } @@ -312,7 +313,7 @@ lv_chk_t *lv_chk_new(ir_graph *irg, const dfs_t *dfs) void lv_chk_free(lv_chk_t *lv) { - obstack_free(phase_obst(&lv->ph), NULL); + phase_free(&lv->ph); xfree(lv); }