/*
- * Copyright (C) 1995-2007 University of Karlsruhe. All right reserved.
+ * Copyright (C) 1995-2008 University of Karlsruhe. All right reserved.
*
* This file is part of libFirm.
*
obstack_free(irg->extbb_obst, NULL);
}
else {
- irg->extbb_obst = xmalloc(sizeof(*irg->extbb_obst));
+ irg->extbb_obst = XMALLOC(struct obstack);
}
obstack_init(irg->extbb_obst);
/* the end block needs a extbb assigned (even for endless loops) */
endblock = get_irg_end_block(irg);
- if (! irn_visited(endblock)) {
- create_extblk(endblock, &env);
- }
+ create_extblk(endblock, &env);
/*
Ok, we have now the list of all extended blocks starting with env.head