X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Fbe%2Fbeinfo.c;h=d17e59c854aad9b510ee9244d83ceb51d69cdf27;hb=ea49f59b7723e700c720cc89c26864e68c113237;hp=fbda0b7a053ed3b2c13782e74828714647ce8f2e;hpb=9a1c04e0bdc66d8fce339bc81408728b9459d033;p=libfirm diff --git a/ir/be/beinfo.c b/ir/be/beinfo.c index fbda0b7a0..d17e59c85 100644 --- a/ir/be/beinfo.c +++ b/ir/be/beinfo.c @@ -1,20 +1,6 @@ /* - * Copyright (C) 1995-2011 University of Karlsruhe. All right reserved. - * * This file is part of libFirm. - * - * This file may be distributed and/or modified under the terms of the - * GNU General Public License version 2 as published by the Free Software - * Foundation and appearing in the file LICENSE.GPL included in the - * packaging of this file. - * - * Licensees holding valid libFirm Professional Edition licenses may use - * this file in accordance with the libFirm Commercial License. - * Agreement provided with the Software. - * - * This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE - * WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR - * PURPOSE. + * Copyright (C) 2012 University of Karlsruhe. */ /** @@ -70,13 +56,9 @@ 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])); + info->out_infos = NEW_ARR_DZ(reg_out_info_t, obst, 1); info->out_infos[0].req = arch_no_register_req; break; default: