X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Fana%2Firbackedge_t.h;h=16c128ed7148617a1d6b3c178466a1d75dc01e90;hb=e97a86a5e90141c2cb4ccdc34195cab035627c3f;hp=6b13d3b9b0207e2a1f218c00f76748b8ec39a66a;hpb=9b716841c3b0865b86af8d3890b3914060c37ed0;p=libfirm diff --git a/ir/ana/irbackedge_t.h b/ir/ana/irbackedge_t.h index 6b13d3b9b..16c128ed7 100644 --- a/ir/ana/irbackedge_t.h +++ b/ir/ana/irbackedge_t.h @@ -1,20 +1,6 @@ /* - * Copyrigth (C) 1995-2007 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. */ /** @@ -22,24 +8,23 @@ * @brief Access function for backedges -- private header. * @author Goetz Lindenmaier * @date 7.2002 - * @version $Id$ */ #ifndef FIRM_ANA_IRBACKEDGE_T_H #define FIRM_ANA_IRBACKEDGE_T_H -/** - * Allocate a new backedge array on the obstack for given size. - */ -int *new_backedge_arr(struct obstack *obst, int size); +#include "bitset.h" /** - * allocate new backedge info for nodes. + * Allocate a new backedge array on the obstack for given size. + * + * @param obst the obstack to allocate the array on + * @param size the size of the backedge array */ -void new_backedge_info(ir_node *n); +bitset_t *new_backedge_arr(struct obstack *obst, size_t size); /** * Adapts backedges array to new size. - * Must be called if in array of irnode is changed. Else + * Must be called if the in array of an IR node is changed. Else * Segmentation faults might occur. */ void fix_backedges(struct obstack *obst, ir_node *n);