projects
/
libfirm
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
002120b
)
Made frame types final classes.
author
Michael Beck
<beck@ipd.info.uni-karlsruhe.de>
Thu, 5 Oct 2006 13:41:16 +0000
(13:41 +0000)
committer
Michael Beck
<beck@ipd.info.uni-karlsruhe.de>
Thu, 5 Oct 2006 13:41:16 +0000
(13:41 +0000)
[r8317]
ir/tr/type.c
patch
|
blob
|
history
diff --git
a/ir/tr/type.c
b/ir/tr/type.c
index
80f2dda
..
4a27b75
100644
(file)
--- 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;
}