X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=heuristical.c;h=c320764fdee473e05781d9f9487aed66477b5a83;hb=74cbc1603b37a09f11bea82944926bf2fbed0ebf;hp=9ad9b296965aae646a1b4bc197d0a3a1fc8ab26e;hpb=777bbb1740045bdbafe1a0e34ff8cc25d148f980;p=libfirm diff --git a/heuristical.c b/heuristical.c index 9ad9b2969..c320764fd 100644 --- a/heuristical.c +++ b/heuristical.c @@ -232,6 +232,7 @@ static void reorder_node(pbqp_node *node) ARR_SHRINKLEN(node_buckets[old_arity], (int)old_bucket_len - 1); /* ..and add to new one. */ + node->bucket_index = ARR_LEN(node_buckets[arity]); ARR_APP1(pbqp_node *, node_buckets[arity], node); }