Some bugfixes. Added bitset dumping support.
[libfirm] / ir / ir / irprintf.h
index 1e1a2f6..7023d2a 100644 (file)
@@ -20,7 +20,8 @@
 #ifndef _IRPRINTF_H
 #define _IRPRINTF_H
 
-#include "config.h"
+#include <stddef.h>
+#include <stdio.h>
 
 /**
  * Something that can append strings and chars to something.
@@ -51,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
@@ -103,22 +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 ir_printf
-#define ir_fdebugf ir_fprintf
-
-#else
-
-static INLINE void ir_debugf(const char *fmt, ...)
-{
-}
-
-static INLINE void ir_fdebugf(FILE *, const char *fmt, ...)
-{
-}
-
-
-#endif
 
 #endif