projects
/
libfirm
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4f92e52
)
The constructor initializes the array.
author
Sebastian Buchwald
<Sebastian.Buchwald@kit.edu>
Wed, 20 Apr 2011 16:34:49 +0000
(18:34 +0200)
committer
Sebastian Buchwald
<Sebastian.Buchwald@kit.edu>
Wed, 20 Apr 2011 16:37:04 +0000
(18:37 +0200)
ir/be/bessaconstr.c
patch
|
blob
|
history
diff --git
a/ir/be/bessaconstr.c
b/ir/be/bessaconstr.c
index
d88c5f1
..
8dc730a
100644
(file)
--- 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);