projects
/
libfirm
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
79e7ff3
)
ensure that the leader is the first one in the extended block block list
author
Michael Beck
<beck@ipd.info.uni-karlsruhe.de>
Mon, 12 Sep 2005 14:05:47 +0000
(14:05 +0000)
committer
Michael Beck
<beck@ipd.info.uni-karlsruhe.de>
Mon, 12 Sep 2005 14:05:47 +0000
(14:05 +0000)
[r6608]
ir/ana/irextbb.c
patch
|
blob
|
history
diff --git
a/ir/ana/irextbb.c
b/ir/ana/irextbb.c
index
68fe2e0
..
7a9f71b
100644
(file)
--- a/
ir/ana/irextbb.c
+++ b/
ir/ana/irextbb.c
@@
-155,7
+155,8
@@
void compute_extbb(ir_graph *irg) {
for (block = extbb->link, i = 0; i < len; ++i) {
ir_node *nblock = get_irn_link(block);
- extbb->blks[i] = block;
+ /* ensure that the leader is the first one */
+ extbb->blks[len - 1 - i] = block;
set_irn_link(block, NULL);
block = nblock;
}