mirror of
git://gcc.gnu.org/git/gcc.git
synced 2024-12-17 16:09:48 +08:00
sendmsg.c (__objc_print_dtable_stats): Don't use #ifdef inside printf.
* sendmsg.c (__objc_print_dtable_stats): Don't use #ifdef inside printf. From-SVN: r38931
This commit is contained in:
parent
9a9157721d
commit
0fc39d8ad7
@ -1,3 +1,8 @@
|
||||
2001-01-12 Joseph S. Myers <jsm28@cam.ac.uk>
|
||||
|
||||
* sendmsg.c (__objc_print_dtable_stats): Don't use #ifdef inside
|
||||
printf.
|
||||
|
||||
2000-01-11 Richard Earnshaw <rearnsha@arm.com>
|
||||
|
||||
* encoding.c (STRUCTURE_SIZE_BOUNDARY): Redefine in a way that
|
||||
|
@ -1,5 +1,6 @@
|
||||
/* GNU Objective C Runtime message lookup
|
||||
Copyright (C) 1993, 1995, 1996, 1997, 1998 Free Software Foundation, Inc.
|
||||
Copyright (C) 1993, 1995, 1996, 1997, 1998,
|
||||
2001 Free Software Foundation, Inc.
|
||||
Contributed by Kresten Krab Thorup
|
||||
|
||||
This file is part of GNU CC.
|
||||
@ -628,13 +629,11 @@ __objc_print_dtable_stats()
|
||||
|
||||
objc_mutex_lock(__objc_runtime_mutex);
|
||||
|
||||
printf("memory usage: (%s)\n",
|
||||
#ifdef OBJC_SPARSE2
|
||||
"2-level sparse arrays"
|
||||
printf("memory usage: (%s)\n", "2-level sparse arrays");
|
||||
#else
|
||||
"3-level sparse arrays"
|
||||
printf("memory usage: (%s)\n", "3-level sparse arrays");
|
||||
#endif
|
||||
);
|
||||
|
||||
printf("arrays: %d = %ld bytes\n", narrays,
|
||||
(long)narrays*sizeof(struct sarray));
|
||||
|
Loading…
Reference in New Issue
Block a user