Commit db079ccd authored by FIRM Projekt Account's avatar FIRM Projekt Account
Browse files

inter_arity bugfix

[r4279]
parent 9a30f4bf
......@@ -341,7 +341,7 @@ extern int (*__get_irn_arity)(const ir_node *node);
*/
static INLINE ir_node *
__get_irn_intra_n (ir_node *node, int n) {
assert(node); assert(-1 <= n && n < __get_irn_arity(node));
assert(node); assert(-1 <= n && n < __get_irn_intra_arity(node));
return (node->in[n + 1] = skip_Id(node->in[n + 1]));
}
......@@ -351,7 +351,7 @@ __get_irn_intra_n (ir_node *node, int n) {
*/
static INLINE ir_node*
__get_irn_inter_n (ir_node *node, int n) {
assert(node); assert(-1 <= n && n < __get_irn_arity(node));
assert(node); assert(-1 <= n && n < __get_irn_inter_arity(node));
/* handle Filter and Block specially */
if (__get_irn_opcode(node) == iro_Filter) {
......
Supports Markdown
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