aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree.c
diff options
context:
space:
mode:
authorKaveh R. Ghazi <ghazi@caip.rutgers.edu>2001-08-18 18:11:18 +0000
committerKaveh Ghazi <ghazi@gcc.gnu.org>2001-08-18 18:11:18 +0000
commit1c0cc57e79e12fd87530f9c6860ba32516eb35c0 (patch)
treeba20c4b0e0120a645cd25113492a883864a687e1 /gcc/tree.c
parent13c508d9917050ad79eca822b22a9eb1abf0bbc9 (diff)
downloadgcc-1c0cc57e79e12fd87530f9c6860ba32516eb35c0.zip
gcc-1c0cc57e79e12fd87530f9c6860ba32516eb35c0.tar.gz
gcc-1c0cc57e79e12fd87530f9c6860ba32516eb35c0.tar.bz2
except.c (TYPE_HASH): Delete.
* except.c (TYPE_HASH): Delete. * objc/objc-act.c (HASHFUNCTION): Cast to size_t, not HOST_WIDE_INT. * tree.c (TYPE_HASH): Delete. * tree.h (TYPE_HASH): Define. ch: * tree.c (TYPE_HASH): Moved to ../tree.h. cp: * decl.c: Cast argument to size_t, not HOST_WIDE_INT, in calls to GNU_xref_start_scope and GNU_xref_end_scope. * tree.c (TYPE_HASH): Moved to ../tree.h. From-SVN: r45004
Diffstat (limited to 'gcc/tree.c')
-rw-r--r--gcc/tree.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/gcc/tree.c b/gcc/tree.c
index 9ce1905..0e87251 100644
--- a/gcc/tree.c
+++ b/gcc/tree.c
@@ -136,10 +136,6 @@ static int next_decl_uid;
/* Unique id for next type created. */
static int next_type_uid = 1;
-/* Here is how primitive or already-canonicalized types' hash
- codes are made. */
-#define TYPE_HASH(TYPE) ((unsigned long) (TYPE) & 0777777)
-
/* Since we cannot rehash a type after it is in the table, we have to
keep the hash code. */