From: Matthias Braun Date: Fri, 16 Feb 2007 09:36:09 +0000 (+0000) Subject: don't use enum as base type for bitfields X-Git-Url: http://nsz.repo.hu/git/?a=commitdiff_plain;h=334ab635243817cb06fa4cc0d7a54bdc83bfd257;p=libfirm don't use enum as base type for bitfields --- diff --git a/ir/be/ia32/ia32_nodes_attr.h b/ir/be/ia32/ia32_nodes_attr.h index 45c07a980..a607fa538 100644 --- a/ir/be/ia32/ia32_nodes_attr.h +++ b/ir/be/ia32/ia32_nodes_attr.h @@ -77,11 +77,10 @@ enum { typedef struct _ia32_attr_t { struct { - ia32_op_type_t tp:3; /**< ia32 node type */ - ia32_immop_type_t imm_tp:2; /**< ia32 immop type */ - - ia32_am_type_t am_support:2;/**< indicates addrmode type supported by this node */ - ia32_am_flavour_t am_flavour:4; /**< the concrete addrmode characteristics */ + unsigned tp:3; /**< ia32 node type */ + unsigned imm_tp:2; /**< ia32 immop type */ + unsigned am_support:2; /**< indicates addrmode type supported by this node */ + unsigned am_flavour:4; /**< the concrete addrmode characteristics */ unsigned am_scale:2; /**< addrmode scale for index register */ unsigned offs_sign:1; /**< sign bit of the first offset */