From 10b60173d97d3cf320f16d936b32f05b91d976f3 Mon Sep 17 00:00:00 2001 From: =?utf8?q?G=C3=B6tz=20Lindenmaier?= Date: Thu, 29 Nov 2001 14:58:25 +0000 Subject: [PATCH] A preprocessor flag to direct output of irdump [r281] --- ir/common/common.h | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/ir/common/common.h b/ir/common/common.h index 2755fba98..4f2946d31 100644 --- a/ir/common/common.h +++ b/ir/common/common.h @@ -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 @@ -45,6 +44,11 @@ * 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, -- 2.20.1