projects
/
libfirm
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
*** empty log message ***
[libfirm]
/
ir
/
ir
/
ircons_t.h
diff --git
a/ir/ir/ircons_t.h
b/ir/ir/ircons_t.h
index
c2bccfb
..
9995365
100644
(file)
--- a/
ir/ir/ircons_t.h
+++ b/
ir/ir/ircons_t.h
@@
-19,17
+19,27
@@
/**
* Initializes the graph construction.
*
/**
* Initializes the graph construction.
*
- * @param func @see default_initialize_local_variable_func_t
+ * @param func callback that is called if a uninitialized
+ * variable is detected
+ *
+ * @see uninitialized_local_variable_func_t
*/
*/
-void init_cons
(default_initialize
_local_variable_func_t *func);
+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]
;
}
}
-#define new_d_Bad() __new_d_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_NoMem() _new_d_NoMem()
#endif /* _IRCONS_T_H_ */
#endif /* _IRCONS_T_H_ */