A preprocessor flag to direct output of irdump
authorGötz Lindenmaier <goetz@ipd.info.uni-karlsruhe.de>
Thu, 29 Nov 2001 14:58:25 +0000 (14:58 +0000)
committerGötz Lindenmaier <goetz@ipd.info.uni-karlsruhe.de>
Thu, 29 Nov 2001 14:58:25 +0000 (14:58 +0000)
[r281]

ir/common/common.h

index 2755fba..4f2946d 100644 (file)
@@ -34,9 +34,8 @@
 
 /* If this is defined debuging aids are created, e.g. a field in
    ir_node uniquely numbering the nodes.
-   Warum war das auskommentiert?? (--enable-debug hat das nicht gesetzt.*/
-#define DEBUG_libfirm 1
-/*
+   Warum war das auskommentiert?? (--enable-debug hat das nicht gesetzt.
+   #define DEBUG_libfirm 1
  * this is now set by the configure script as an option
  * use
 #ifdef HAVE_CONFIG_H
  * instead
  */
 
+/* If this and DEBUG_libfirm are defined irdump uses the nodeid numbers as
+   labels for the vcg nodes.  This makes the vcg graph better readable.
+   Sometimes it's useful to see the pointer values, though. */
+#define NODEID_AS_LABEL 1
+
 /* a list of firm kinds */
 typedef enum {
   k_entity,