sparc: Add missing #include <stdint.h>.
[libfirm] / ir / be / beinfo.c
index fbda0b7..d17e59c 100644 (file)
@@ -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: