Commit 94dc8ff1 authored by Michael Beck's avatar Michael Beck
Browse files

do not use new_Bad(), as this depends on current_ir_graph, cast

parent 41cd9133
......@@ -884,7 +884,7 @@ ir_node *get_irn_MacroBlock(const ir_node *n) {
n = get_nodes_block(n);
/* if the Block is Bad, do NOT try to get it's MB, it will fail. */
if (is_Bad(n))
return new_Bad();
return (ir_node *)n;
return get_Block_MacroBlock(n);
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