From 5ed60b9196d8f50c2426ae27d59817e813f00f0c Mon Sep 17 00:00:00 2001 From: Michael Beck Date: Thu, 5 Oct 2006 13:41:16 +0000 Subject: [PATCH] Made frame types final classes. [r8317] --- ir/tr/type.c | 3 +++ 1 file changed, 3 insertions(+) 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; } -- 2.20.1