libcore: Check, that a pointer to a char array is passed to LC_OPT_ENT_STR().
[libfirm] / ir / be / bestate.c
index 672e1ce..e14633c 100644 (file)
@@ -376,11 +376,9 @@ static void belady(minibelady_env_t *env, ir_node *block)
                int i, arity;
                ir_node *need_val = NULL;
 
-               /* projs are handled with the tuple value.
-                * Phis are no real instr (see insert_starters()) */
-               if (is_Proj(node) || is_Phi(node)) {
+               /* Phis are no real instr (see insert_starters()) */
+               if (is_Phi(node))
                        continue;
-               }
 
                /* check which state is desired for the node */
                arity = get_irn_arity(node);
@@ -436,15 +434,10 @@ static void belady_walker(ir_node *block, void *data)
 static void fix_block_borders(ir_node *block, void *data)
 {
        minibelady_env_t *env = (minibelady_env_t*)data;
-       ir_graph *irg = get_irn_irg(block);
-       ir_node *startblock = get_irg_start_block(irg);
        int i;
        int arity;
        block_info_t *block_info;
 
-       if (block == startblock)
-               return;
-
        DBG((dbg, LEVEL_3, "\n"));
 
        block_info = get_block_info(block);