Use a null pointer for marking the current position as unreachable again.
authorChristoph Mallon <christoph.mallon@gmx.de>
Wed, 1 Jun 2011 08:34:15 +0000 (10:34 +0200)
committerChristoph Mallon <christoph.mallon@gmx.de>
Wed, 1 Jun 2011 08:34:15 +0000 (10:34 +0200)
Using a BadBB has no benefits.

ast2firm.c

index c8e4d8a..4a78f4d 100644 (file)
@@ -182,8 +182,7 @@ static bool currently_reachable()
 
 static void set_unreachable_now()
 {
-       ir_node *bad = new_Bad(mode_BB);
-       set_cur_block(bad);
+       set_cur_block(NULL);
 }
 
 static ir_mode *atomic_modes[ATOMIC_TYPE_LAST+1];