Commit 8205228f authored by Christoph Mallon's avatar Christoph Mallon
Browse files

tr: Remove unnecessary test.

The global type is final, so the next test bails out.
parent 3db23eee
......@@ -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))
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment