case iro_Block:
case iro_Bad:
case iro_End:
+ case iro_Anchor:
return 0;
default:;
}
lv_chk_t *lv_chk_new(ir_graph *irg, const dfs_t *dfs)
{
- lv_chk_t *res = xmalloc(sizeof(res[0]));
+ lv_chk_t *res = XMALLOC(lv_chk_t);
struct obstack *obst;
int i;
void lv_chk_free(lv_chk_t *lv)
{
- obstack_free(phase_obst(&lv->ph), NULL);
+ phase_free(&lv->ph);
xfree(lv);
}