The constructor initializes the array.
authorSebastian Buchwald <Sebastian.Buchwald@kit.edu>
Wed, 20 Apr 2011 16:34:49 +0000 (18:34 +0200)
committerSebastian Buchwald <Sebastian.Buchwald@kit.edu>
Wed, 20 Apr 2011 16:37:04 +0000 (18:37 +0200)
ir/be/bessaconstr.c

index d88c5f1..8dc730a 100644 (file)
@@ -240,9 +240,7 @@ static ir_node *insert_dummy_phi(be_ssa_construction_env_t *env, ir_node *block)
        }
        phi = be_new_Phi(block, n_preds, ins, env->mode, env->phi_cls);
        sched_add_after(block, phi);
-       if (env->new_phis != NULL) {
-               ARR_APP1(ir_node*, env->new_phis, phi);
-       }
+       ARR_APP1(ir_node*, env->new_phis, phi);
 
        DBG((dbg, LEVEL_2, "\tcreating phi %+F in %+F\n", phi, block));
        introduce_definition(env, phi);