Make the ir_loop link field permanent. The other behavior is unexpected.
[libfirm] / ir / ana / irextbb.c
index 3ae9015..ac826ba 100644 (file)
@@ -137,7 +137,7 @@ static void pre_walk_calc_extbb(ir_node *block, void *ctx)
 }
 
 /** A special extended block used as sentinel */
-static ir_extblk _sentinel = { k_ir_extblk, 0xFEA1DEAD };
+static ir_extblk _sentinel = { k_ir_extblk, 0xFEA1DEAD, NULL, NULL };
 
 /**
  * Post block-walker. Calculates the extended block info.
@@ -374,7 +374,6 @@ void irg_extblock_walk(ir_extblk *blk, extbb_walk_func *pre, extbb_walk_func *po
   int i;
 
   assert(blk);
-  assert(!get_interprocedural_view());   /* interprocedural_view not implemented */
   inc_irg_block_visited(current_ir_graph);
 
   /* assure the start block is the first one */