tr: Remove unnecessary test.
authorChristoph Mallon <christoph.mallon@gmx.de>
Wed, 12 Dec 2012 17:27:59 +0000 (18:27 +0100)
committerChristoph Mallon <christoph.mallon@gmx.de>
Wed, 12 Dec 2012 17:27:59 +0000 (18:27 +0100)
The global type is final, so the next test bails out.

ir/tr/type_finalization.c

index 322e130..b641375 100644 (file)
@@ -40,7 +40,7 @@ static void do_finalization(type_or_ent tore, void *env)
        if (is_type(tore.typ)) {
                ir_type *cls = tore.typ;
 
-               if (! is_Class_type(cls) || cls == glob_tp)
+               if (!is_Class_type(cls))
                        return;
 
                if (is_class_final(cls))