Commit a222aee7 authored by Christoph Mallon's avatar Christoph Mallon
Browse files

In mode_b lowering move the assertion for mode_b below the check, whether the...

In mode_b lowering move the assertion for mode_b below the check, whether the node was replaced already. Some nodes are their own replacement and therefore do not have mode_b anymore after lowering.

[r27007]
parent 7e18ad04
......@@ -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;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment