From f89f7c0c39bf048e468f5202ebb6b8bd09c2805b Mon Sep 17 00:00:00 2001 From: Christoph Mallon Date: Wed, 1 Jun 2011 10:34:15 +0200 Subject: [PATCH] Use a null pointer for marking the current position as unreachable again. Using a BadBB has no benefits. --- ast2firm.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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]; -- 2.20.1