X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Fana%2Firbackedge_t.h;h=c757aa31ee384c8bcb0b60bd4b336dfad4fd8d0e;hb=a6888dd0c74a74aa5ec89d4542e402bda7cd61cb;hp=6b13d3b9b0207e2a1f218c00f76748b8ec39a66a;hpb=9b716841c3b0865b86af8d3890b3914060c37ed0;p=libfirm diff --git a/ir/ana/irbackedge_t.h b/ir/ana/irbackedge_t.h index 6b13d3b9b..c757aa31e 100644 --- a/ir/ana/irbackedge_t.h +++ b/ir/ana/irbackedge_t.h @@ -1,5 +1,5 @@ /* - * Copyrigth (C) 1995-2007 University of Karlsruhe. All right reserved. + * Copyright (C) 1995-2011 University of Karlsruhe. All right reserved. * * This file is part of libFirm. * @@ -22,24 +22,21 @@ * @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); - -/** - * allocate new backedge info for nodes. - */ -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);