projects
/
libfirm
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
use xmalloc instead of malloc
[libfirm]
/
ir
/
ir
/
ircons_t.h
diff --git
a/ir/ir/ircons_t.h
b/ir/ir/ircons_t.h
index
0650fd9
..
9995365
100644
(file)
--- a/
ir/ir/ircons_t.h
+++ b/
ir/ir/ircons_t.h
@@
-16,13
+16,30
@@
#include "ircons.h"
# include "irgraph_t.h"
#include "ircons.h"
# include "irgraph_t.h"
+/**
+ * Initializes the graph construction.
+ *
+ * @param func callback that is called if a uninitialized
+ * variable is detected
+ *
+ * @see uninitialized_local_variable_func_t
+ */
+void init_cons(uninitialized_local_variable_func_t *func);
+
/* inline functions */
static INLINE ir_node *
/* inline functions */
static INLINE ir_node *
-__new_d_Bad(void) {
- return current_ir_graph->bad;
+_new_d_Bad(void) {
+ return current_ir_graph->anchors[anchor_bad];
+}
+
+static INLINE ir_node *
+_new_d_NoMem(void) {
+ return current_ir_graph->anchors[anchor_no_mem];
}
}
-#define new_d_Bad() __new_d_Bad()
+
+#define new_d_Bad() _new_d_Bad()
+#define new_d_NoMem() _new_d_NoMem()
#endif /* _IRCONS_T_H_ */
#endif /* _IRCONS_T_H_ */