use tv_t.h instead of tv.h
[libfirm] / ir / ir / ircons_t.h
index c2bccfb..22c6ea3 100644 (file)
 /**
  * Initializes the graph construction.
  *
- * @param func  @see default_initialize_local_variable_func_t
+ * @param func  @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 *
-__new_d_Bad(void) {
+_new_d_Bad(void) {
   return current_ir_graph->bad;
 }
 
-#define new_d_Bad()               __new_d_Bad()
+static INLINE ir_node *
+_new_d_NoMem(void) {
+  return current_ir_graph->no_mem;
+}
+
+
+#define new_d_Bad()               _new_d_Bad()
+#define new_d_NoMem()             _new_d_NoMem()
 
 #endif /* _IRCONS_T_H_ */