X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Fana%2Firbackedge_t.h;h=4aee093263fe922cad7293133ff47648ae7e03aa;hb=ac1c5f0ce702ab976a3e1788bdc2da08b6b077b7;hp=5e3536f4b7b7cd1d4108da06662151d3b35b0280;hpb=6adca0bec70d258d73f9fe2a9d664dc6a07a4d43;p=libfirm diff --git a/ir/ana/irbackedge_t.h b/ir/ana/irbackedge_t.h index 5e3536f4b..4aee09326 100644 --- a/ir/ana/irbackedge_t.h +++ b/ir/ana/irbackedge_t.h @@ -13,13 +13,15 @@ #ifndef _IRBACKEDGE_T_H_ #define _IRBACKEDGE_T_H_ -# include +/** + * Allocate a new backedge array on the obstack for given size. + */ +int *new_backedge_arr(struct obstack *obst, int size); -static INLINE int * new_backedge_arr(struct obstack *obst, int size) { - int *res = NEW_ARR_D (int, obst, size); - memset(res, 0, sizeof(int) * size); - return res; -} +/** + * allocate new backedge info for nodes. + */ +void new_backedge_info(ir_node *n); /** * Adapts backedges array to new size.