From: Andreas Zwinkau Date: Wed, 18 Jan 2012 15:27:51 +0000 (+0100) Subject: condition instead of assert X-Git-Url: http://nsz.repo.hu/git/?a=commitdiff_plain;h=c7e8b9f445b59141ad8e74c625f1fb372ab45dbe;p=libfirm condition instead of assert --- diff --git a/ir/tr/typewalk.c b/ir/tr/typewalk.c index 360efd187..40409950a 100644 --- 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); } }