Some bugfixes. Added bitset dumping support.
[libfirm] / ir / ir / irprintf.h
index d2b9ebd..7023d2a 100644 (file)
@@ -20,6 +20,9 @@
 #ifndef _IRPRINTF_H
 #define _IRPRINTF_H
 
+#include <stddef.h>
+#include <stdio.h>
+
 /**
  * Something that can append strings and chars to something.
  */
@@ -49,10 +52,11 @@ typedef void (ir_printf_cb_t)(const appender_t *app, void *object, size_t limit,
  * - @%e An entity name.
  * - @%E An entity ld_name.
  * - @%n A full description of a node.
- * - @%o The opcode name of an ir node.
+ * - @%O The opcode name of an ir node.
  * - @%m The mode name of an ir mode.
  * - @%N The node number of an ir node.
- * - @%b The block node number of the nodes block.
+ * - @%B The block node number of the nodes block.
+ * - @%b A bitset.
  * - @%t A tarval.
  *
  * Each of these can be prepended by a '+' which means, that the given
@@ -101,16 +105,5 @@ void ir_fprintf(FILE *f, const char *fmt, ...);
  */
 void ir_snprintf(char *buf, size_t n, const char *fmt, ...);
 
-#ifdef DEBUG_libfirm
-
-#define ir_debugf(p)    ir_printf p
-#define ir_fdebugf(p)   ir_fprintf p
-
-#else
-
-#define ir_debugf(p)
-#define ir_fdebugf(p)
-
-#endif
 
 #endif