X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Fana%2Firbackedge_t.h;h=1223209f0bc2094839f2bac7e0d6cc87155c75ba;hb=1479bfdba32d70f164f61f1bdc8e31190df1269f;hp=4aee093263fe922cad7293133ff47648ae7e03aa;hpb=863d31d7a5c8210432fef88b30fc3e8353131538;p=libfirm diff --git a/ir/ana/irbackedge_t.h b/ir/ana/irbackedge_t.h index 4aee09326..1223209f0 100644 --- a/ir/ana/irbackedge_t.h +++ b/ir/ana/irbackedge_t.h @@ -1,33 +1,50 @@ /* - * Project: libFIRM - * File name: ir/ana/irbackedge_t.h - * Purpose: Access function for backedges -- private header. - * Author: Goetz Lindenmaier - * Modified by: - * Created: 7.2002 - * CVS-ID: $Id$ - * Copyright: (c) 2002-2003 Universität Karlsruhe - * Licence: This file protected by GPL - GNU GENERAL PUBLIC LICENSE. + * Copyright (C) 1995-2008 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. */ -#ifndef _IRBACKEDGE_T_H_ -#define _IRBACKEDGE_T_H_ +/** + * @file + * @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. + * + * @param obst the obstack to allocate the array on + * @param size the size of the backedge array */ -int *new_backedge_arr(struct obstack *obst, int size); +unsigned *new_backedge_arr(struct obstack *obst, unsigned size); /** - * allocate new backedge info for nodes. + * Allocate new backedge info for a given node. */ void new_backedge_info(ir_node *n); /** * 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); -#endif /* _IRBACKEDGE_T_H_ */ +#endif