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
0230736e
Commit
0230736e
authored
Nov 18, 2014
by
Christoph Mallon
Browse files
ia32: Use an enum bitfield for the attribute tp of ia32_attr_t.
* Also only use the necessary number of bits. * Improve its comment.
parent
1f94845e
Changes
1
Hide whitespace changes
Inline
Side-by-side
ir/be/ia32/ia32_nodes_attr.h
View file @
0230736e
...
...
@@ -92,7 +92,7 @@ typedef struct ia32_attr_t ia32_attr_t;
struct
ia32_attr_t
{
except_attr
exc
;
/**< the exception attribute. MUST be the first one. */
unsigned
tp
:
3
;
/**<
ia32 node typ
e. */
ENUMBF
(
ia32_op_type_t
)
tp
:
2
;
/**<
Indicator of used address mod
e. */
unsigned
am_arity
:
2
;
/**< Indicates the address mode type supported by this node. */
unsigned
am_scale
:
2
;
/**< The address mode scale for index register. */
...
...
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