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
f1cfe837
Commit
f1cfe837
authored
Sep 01, 2005
by
Michael Beck
Browse files
get_irn_generic_attr() added, needed for backends that use it's own
opcodes [r6565]
parent
b7c1e6d9
Changes
2
Hide whitespace changes
Inline
Side-by-side
ir/ir/irnode.c
View file @
f1cfe837
...
...
@@ -547,6 +547,11 @@ get_irn_except_attr (ir_node *node)
return
node
->
attr
.
except
;
}
void
*
get_irn_generic_attr
(
ir_node
*
node
)
{
return
&
node
->
attr
;
}
/** manipulate fields of individual nodes **/
/* this works for all except Block */
...
...
ir/ir/irnode_t.h
View file @
f1cfe837
...
...
@@ -275,6 +275,7 @@ block_attr get_irn_block_attr (ir_node *node);
load_attr
get_irn_load_attr
(
ir_node
*
node
);
store_attr
get_irn_store_attr
(
ir_node
*
node
);
except_attr
get_irn_except_attr
(
ir_node
*
node
);
void
*
get_irn_generic_attr
(
ir_node
*
node
);
/** @} */
/**
...
...
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