Commit e669cdc1 authored by Michael Beck's avatar Michael Beck
Browse files

Add a skip_Id() to make the following assert happy

[r26770]
parent e559d782
......@@ -783,6 +783,7 @@ ir_node *get_Block_MacroBlock(const ir_node *block) {
/* Sets the macro block header of a block. */
void set_Block_MacroBlock(ir_node *block, ir_node *mbh) {
assert(is_Block(block));
mbh = skip_Id(mbh);
assert(is_Block(mbh));
set_irn_n(block, -1, mbh);
}
......
Markdown is supported
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