summaryrefslogtreecommitdiffstats
path: root/contrib/libobjc/gc.c
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>2002-05-09 22:50:04 +0000
committerobrien <obrien@FreeBSD.org>2002-05-09 22:50:04 +0000
commit9202658d3cd1b82b9c9b96c52fde1774d313ab2c (patch)
treeba6f9907191b31996edc00ff6dae7cf7978d19e9 /contrib/libobjc/gc.c
parenteb81e01d5162436a00b210305c91bbba234a0238 (diff)
downloadFreeBSD-src-9202658d3cd1b82b9c9b96c52fde1774d313ab2c.zip
FreeBSD-src-9202658d3cd1b82b9c9b96c52fde1774d313ab2c.tar.gz
Gcc 3.1.0 pre-release's Objective C support bits from the FSF anoncvs repo
on 9-May-2002 15:57:15 EDT.
Diffstat (limited to 'contrib/libobjc/gc.c')
-rw-r--r--contrib/libobjc/gc.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/contrib/libobjc/gc.c b/contrib/libobjc/gc.c
index 8ca6de8..d92c0c3 100644
--- a/contrib/libobjc/gc.c
+++ b/contrib/libobjc/gc.c
@@ -324,12 +324,13 @@ __objc_generate_gc_type_description (Class class)
if (current + 1 == type_size)
class_structure_type = objc_realloc (class_structure_type, ++type_size);
strcat (class_structure_type + current, "}");
-// printf ("type description for '%s' is %s\n", class->name, class_structure_type);
+#ifdef DEBUG
+ printf ("type description for '%s' is %s\n", class->name, class_structure_type);
+#endif
__objc_gc_type_description_from_type (mask, class_structure_type);
objc_free (class_structure_type);
-#define DEBUG 1
#ifdef DEBUG
printf (" mask for '%s', type '%s' (bits %d, mask size %d) is:",
class_structure_type, class->name, bits_no, size);
OpenPOWER on IntegriCloud