Commit f1cfe837 authored by Michael Beck's avatar Michael Beck
Browse files

get_irn_generic_attr() added, needed for backends that use it's own

opcodes

[r6565]
parent b7c1e6d9
......@@ -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 */
......
......@@ -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);
/** @} */
/**
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment