3 * File name: ir/ana/irbackedge_t.h
4 * Purpose: Access function for backedges -- private header.
5 * Author: Goetz Lindenmaier
9 * Copyright: (c) 2002-2003 Universität Karlsruhe
10 * Licence: This file protected by GPL - GNU GENERAL PUBLIC LICENSE.
13 #ifndef _IRBACKEDGE_T_H_
14 #define _IRBACKEDGE_T_H_
18 static INLINE int * new_backedge_arr(struct obstack *obst, int size) {
19 int *res = NEW_ARR_D (int, obst, size);
20 memset(res, 0, sizeof(int) * size);
24 /* Adapts backedges array to new size.
25 Must be called if in array of irnode is changed. Else
26 Segmentation faults might occur. */
27 void fix_backedges(struct obstack *obst, ir_node *n);
29 #endif /* _IRBACKEDGE_T_H_ */