projects
/
libfirm
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Resolve constness warning.
[libfirm]
/
ir
/
tr
/
typewalk.c
diff --git
a/ir/tr/typewalk.c
b/ir/tr/typewalk.c
index
360efd1
..
4040995
100644
(file)
--- a/
ir/tr/typewalk.c
+++ b/
ir/tr/typewalk.c
@@
-538,8
+538,8
@@
void class_walk_super2sub(class_walk_func *pre,
if (is_Class_type(tp) &&
(get_class_n_supertypes(tp) == 0) &&
type_not_visited(tp) &&
+ (! is_frame_type(tp)) &&
(tp != get_glob_type())) {
- assert(! is_frame_type(tp));
class_walk_s2s_2(tp, pre, post, env);
}
}