static void do_finalization(type_or_ent tore, void *env)
{
- ir_type *glob_tp = env;
+ ir_type *glob_tp = (ir_type*)env;
if (is_type(tore.typ)) {
ir_type *cls = tore.typ;
*/
void types_calc_finalization(void)
{
- if (! get_opt_closed_world())
- return;
+ if (! get_opt_closed_world())
+ return;
FIRM_DBG_REGISTER(dbg, "firm.tr.finalization");