From c97e400f3060856d3717f5a6d1460529b0135728 Mon Sep 17 00:00:00 2001 From: Dennis Glatting Date: Thu, 21 Nov 1991 22:25:19 +0000 Subject: [PATCH] deleted hash mask information from hash struct. changed hashing algorithm. those values are no longer needed. From-SVN: r65 --- gcc/objc/hash.h | 19 +++++-------------- 1 file changed, 5 insertions(+), 14 deletions(-) diff --git a/gcc/objc/hash.h b/gcc/objc/hash.h index ae87d5b28ec..f7c1b577b94 100644 --- a/gcc/objc/hash.h +++ b/gcc/objc/hash.h @@ -21,10 +21,13 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. * - $Header: /usr/user/dennis_glatting/ObjC/c-runtime/lib/RCS/hash.h,v 0.2 1991/11/07 22:30:54 dennisg Exp dennisg $ + $Header: /usr/user/dennis_glatting/ObjC/c-runtime/lib/RCS/hash.h,v 0.3 1991/11/07 23:23:40 dennisg Exp dennisg $ $Author: dennisg $ - $Date: 1991/11/07 22:30:54 $ + $Date: 1991/11/07 23:23:40 $ $Log: hash.h,v $ + * Revision 0.3 1991/11/07 23:23:40 dennisg + * implemented hash table expansion as suggested by rms. + * * Revision 0.2 1991/11/07 22:30:54 dennisg * added copyleft * @@ -93,18 +96,6 @@ typedef struct cache { "theNodeTable"). */ entriesInHash; /* Current number of entries in ther hash table. */ - /* - * Variables used to compute hash - * values. - */ - u_int mask, /* The number of bits set - in the mask that is - contained in the next - member variable. */ - numberOfMaskBits; /* Number of bits used for - the mask. Useful for - efficient hash value - calculation. */ /* * Variables used to implement indexing * through the hash table.