Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Zwinkau
libfirm
Commits
d5019c60
Commit
d5019c60
authored
Feb 14, 2016
by
Matthias Braun
Browse files
entity: uint16_t ought to be enough for any bitfield description
parent
c6eb86b9
Changes
1
Hide whitespace changes
Inline
Side-by-side
ir/tr/entity_t.h
View file @
d5019c60
...
...
@@ -131,8 +131,8 @@ typedef struct code_ent_attr {
typedef
struct
compound_member_ent_attr
{
int
offset
;
/**< Offset in bytes for this entity. Fixed
when layout of owner is determined. */
u
nsigned
bitfield_offset
;
/**< for bitfields: offset in bits from base */
u
nsigned
bitfield_size
;
/**< for bitfields: size of entity in bits,
u
int16_t
bitfield_offset
;
/**< for bitfields: offset in bits from base */
u
int16_t
bitfield_size
;
/**< for bitfields: size of entity in bits,
0 if entity is not a bitfield. */
}
compound_member_ent_attr
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment