projects
/
libfirm
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
240301b
)
- fix fehler109.c:
author
Michael Beck
<beck@ipd.info.uni-karlsruhe.de>
Mon, 18 Feb 2008 14:51:14 +0000
(14:51 +0000)
committer
Michael Beck
<beck@ipd.info.uni-karlsruhe.de>
Mon, 18 Feb 2008 14:51:14 +0000
(14:51 +0000)
do not exchange the Proj from Cmp, if it has more than one user this will fail ...
[r17776]
ir/lower/lower_dw.c
patch
|
blob
|
history
diff --git
a/ir/lower/lower_dw.c
b/ir/lower/lower_dw.c
index
e7b2f1c
..
a0cd50f
100644
(file)
--- a/
ir/lower/lower_dw.c
+++ b/
ir/lower/lower_dw.c
@@
-1259,7
+1259,7
@@
static void lower_Cond(ir_node *node, ir_mode *mode, lower_env_t *env) {
ir_node *cmp = new_rd_Cmp(dbg, irg, block, or, new_Const_long(mode, 0));
ir_node *proj = new_r_Proj(irg, block, cmp, mode_b, pnc);
-
exchange(sel
, proj);
+
set_Cond_selector(node
, proj);
return;
}
}