projects
/
libfirm
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
777bbb1
)
Bugfix: Update bucket_index if reordering node.
author
Sebastian Buchwald
<Sebastian.Buchwald@kit.edu>
Sat, 4 Oct 2008 19:15:35 +0000
(19:15 +0000)
committer
Sebastian Buchwald
<Sebastian.Buchwald@kit.edu>
Sat, 4 Oct 2008 19:15:35 +0000
(19:15 +0000)
[r22482]
heuristical.c
patch
|
blob
|
history
diff --git
a/heuristical.c
b/heuristical.c
index
9ad9b29
..
c320764
100644
(file)
--- 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);
}