From: Michael Beck Date: Thu, 1 Jun 2006 14:00:08 +0000 (+0000) Subject: BugFix: all flags where deleted when layout state was set X-Git-Url: http://nsz.repo.hu/git/?a=commitdiff_plain;h=840186706600440a55f7e09739ae75e4ca6fab5c;p=libfirm BugFix: all flags where deleted when layout state was set [r7852] --- diff --git a/ir/tr/type.c b/ir/tr/type.c index 9c7f4ebd3..1eca6d4d0 100644 --- a/ir/tr/type.c +++ b/ir/tr/type.c @@ -449,7 +449,7 @@ set_type_state(ir_type *tp, type_state state) { if (state == layout_fixed) tp->flags |= tf_layout_fixed; else - tp->flags &= tf_layout_fixed; + tp->flags &= ~tf_layout_fixed; } unsigned long (get_type_visited)(const ir_type *tp) {