summaryrefslogtreecommitdiffhomepage
path: root/ir/be/beinfo.c
diff options
context:
space:
mode:
authorChristoph Mallon <christoph.mallon@gmx.de>2012-11-30 11:22:57 +0100
committerChristoph Mallon <christoph.mallon@gmx.de>2012-11-30 11:22:57 +0100
commitd95b353ed220a9d0bff767d63765126e636a39a5 (patch)
tree0d8465f24dfcc3620a8e6b4078c4f8435dfd7e1e /ir/be/beinfo.c
parentea674f09bbf486718c1de000bac393b134a716fe (diff)
beinfo: Reduce code duplication.
Diffstat (limited to 'ir/be/beinfo.c')
-rw-r--r--ir/be/beinfo.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/ir/be/beinfo.c b/ir/be/beinfo.c
index fbda0b7..903e16d 100644
--- a/ir/be/beinfo.c
+++ b/ir/be/beinfo.c
@@ -70,10 +70,7 @@ void be_info_new_node(ir_graph *irg, ir_node *node)
case iro_End:
case iro_Unknown:
info->flags |= arch_irn_flags_not_scheduled;
- info->out_infos = NEW_ARR_D(reg_out_info_t, obst, 1);
- memset(info->out_infos, 0, 1 * sizeof(info->out_infos[0]));
- info->out_infos[0].req = arch_no_register_req;
- break;
+ /* FALLTHROUGH */
case iro_Phi:
info->out_infos = NEW_ARR_D(reg_out_info_t, obst, 1);
memset(info->out_infos, 0, 1 * sizeof(info->out_infos[0]));