more consts
[libfirm] / ir / ana / irlivechk.c
index 39090bc..b5404de 100644 (file)
@@ -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);
 }