From a3ff5d70ee39a6308a81fb4d7f53258d11f93013 Mon Sep 17 00:00:00 2001 From: Sebastian Buchwald Date: Thu, 17 Sep 2009 12:12:17 +0000 Subject: [PATCH] Start block isn't a special case anymore (and now get the old node nr). [r26537] --- ir/be/betranshlp.c | 9 --------- 1 file changed, 9 deletions(-) diff --git a/ir/be/betranshlp.c b/ir/be/betranshlp.c index ad337cfc6..5c4fc5251 100644 --- a/ir/be/betranshlp.c +++ b/ir/be/betranshlp.c @@ -327,18 +327,9 @@ static void transform_nodes(ir_graph *irg, arch_pretrans_nodes *pre_transform) static ir_node *gen_Block(ir_node *node) { ir_graph *irg = current_ir_graph; dbg_info *dbgi = get_irn_dbg_info(node); - ir_node *old_start_block = get_irn_n(env.old_anchor, anchor_start_block); ir_node *macroblock = get_Block_MacroBlock(node); ir_node *block; - /* - * We replace the ProjX from the start node with a jump, - * so the startblock has no preds anymore now - */ - if (node == old_start_block) { - return new_rd_Block(dbgi, irg, 0, NULL); - } - /* we use the old blocks for now, because jumps allow cycles in the graph * we have to fix this later */ block = new_ir_node(dbgi, irg, NULL, get_irn_op(node), get_irn_mode(node), -- 2.20.1