From da29eb3f5c76a5f5c2b4b3e5ca0a44101d79556d Mon Sep 17 00:00:00 2001 From: Sebastian Buchwald Date: Wed, 20 Apr 2011 18:34:49 +0200 Subject: [PATCH] The constructor initializes the array. --- ir/be/bessaconstr.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/ir/be/bessaconstr.c b/ir/be/bessaconstr.c index d88c5f1db..8dc730a93 100644 --- a/ir/be/bessaconstr.c +++ b/ir/be/bessaconstr.c @@ -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); -- 2.20.1