From: Christoph Mallon Date: Wed, 1 Jun 2011 08:34:15 +0000 (+0200) Subject: Use a null pointer for marking the current position as unreachable again. X-Git-Url: http://nsz.repo.hu/git/?a=commitdiff_plain;h=f89f7c0c39bf048e468f5202ebb6b8bd09c2805b;p=cparser Use a null pointer for marking the current position as unreachable again. Using a BadBB has no benefits. --- diff --git a/ast2firm.c b/ast2firm.c index c8e4d8a..4a78f4d 100644 --- a/ast2firm.c +++ b/ast2firm.c @@ -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];