From: Michael Beck Date: Thu, 5 Oct 2006 13:41:16 +0000 (+0000) Subject: Made frame types final classes. X-Git-Url: http://nsz.repo.hu/git/?a=commitdiff_plain;h=5ed60b9196d8f50c2426ae27d59817e813f00f0c;p=libfirm Made frame types final classes. [r8317] --- diff --git a/ir/tr/type.c b/ir/tr/type.c index 80f2dda57..4a27b7566 100644 --- a/ir/tr/type.c +++ b/ir/tr/type.c @@ -1991,6 +1991,9 @@ ir_type *new_type_frame(ident *name) /* Remove type from type list. Must be treated differently than other types. */ remove_irp_type(res); + /* It is not possible to derive from the frame type. Set the final flag. */ + set_class_final(res, 1); + return res; }