projects
/
libfirm
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
FS_OPT_CONST_PHI added
[libfirm]
/
ir
/
ana
/
irbackedge_t.h
diff --git
a/ir/ana/irbackedge_t.h
b/ir/ana/irbackedge_t.h
index
5e3536f
..
4aee093
100644
(file)
--- a/
ir/ana/irbackedge_t.h
+++ b/
ir/ana/irbackedge_t.h
@@
-13,13
+13,15
@@
#ifndef _IRBACKEDGE_T_H_
#define _IRBACKEDGE_T_H_
#ifndef _IRBACKEDGE_T_H_
#define _IRBACKEDGE_T_H_
-# include <string.h>
+/**
+ * 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.
/**
* Adapts backedges array to new size.