From: Götz Lindenmaier Date: Thu, 29 Nov 2001 14:58:25 +0000 (+0000) Subject: A preprocessor flag to direct output of irdump X-Git-Url: http://nsz.repo.hu/git/?a=commitdiff_plain;h=10b60173d97d3cf320f16d936b32f05b91d976f3;p=libfirm A preprocessor flag to direct output of irdump [r281] --- 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,