projects
/
libfirm
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7e18ad0
)
In mode_b lowering move the assertion for mode_b below the check, whether the node...
author
Christoph Mallon
<christoph.mallon@gmx.de>
Thu, 28 Jan 2010 20:32:02 +0000
(20:32 +0000)
committer
Christoph Mallon
<christoph.mallon@gmx.de>
Thu, 28 Jan 2010 20:32:02 +0000
(20:32 +0000)
[r27007]
ir/lower/lower_mode_b.c
patch
|
blob
|
history
diff --git
a/ir/lower/lower_mode_b.c
b/ir/lower/lower_mode_b.c
index
bfd80b2
..
6e985b9
100644
(file)
--- a/
ir/lower/lower_mode_b.c
+++ b/
ir/lower/lower_mode_b.c
@@
-162,12
+162,12
@@
static ir_node *lower_node(ir_node *node)
ir_mode *mode = config.lowered_mode;
ir_node *res;
- assert(get_irn_mode(node) == mode_b);
-
res = get_irn_link(node);
if (res != NULL)
return res;
+ assert(get_irn_mode(node) == mode_b);
+
switch (get_irn_opcode(node)) {
case iro_Phi: {
int i, arity;