This commit was generated by cvs2svn to compensate for changes in r146899,

which included commits to RCS files with non-trunk default branches.
This commit is contained in:
kan 2005-06-03 03:29:59 +00:00
commit be081a3e1d
2 changed files with 23 additions and 12 deletions

View File

@ -1,3 +1,23 @@
2005-05-19 Release Manager
* GCC 3.4.4 released.
2004-12-20 Andrew Pinski <pinskia@physics.uc.edu>
PR libobjc/12035
* gc.c: Remove definition of LOGWL, modWORDSZ, and divWORDSZ since
they are not used.
Include limits.h and stdlib.h.
Define BITS_PER_WORD.
2004-11-04 Release Manager
* GCC 3.4.3 released.
2004-09-06 Release Manager
* GCC 3.4.2 released.
2004-07-01 Release Manager
* GCC 3.4.1 released.

View File

@ -31,26 +31,17 @@ Boston, MA 02111-1307, USA. */
#include <assert.h>
#include <string.h>
#include <stdlib.h>
#if OBJC_WITH_GC
#include <gc.h>
#include <limits.h>
/* gc_typed.h uses the following but doesn't declare them */
typedef GC_word word;
typedef GC_signed_word signed_word;
#if BITS_PER_WORD == 32
# define LOGWL 5
# define modWORDSZ(n) ((n) & 0x1f) /* n mod size of word */
#endif
#if BITS_PER_WORD == 64
# define LOGWL 6
# define modWORDSZ(n) ((n) & 0x3f) /* n mod size of word */
#endif
#define divWORDSZ(n) ((n) >> LOGWL) /* divide n by size of word */
#define BITS_PER_WORD (CHAR_BIT * sizeof (word))
#include <gc_typed.h>