summaryrefslogtreecommitdiff
path: root/gcc/tree.c
diff options
context:
space:
mode:
authorghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4>2001-08-18 18:11:18 +0000
committerghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4>2001-08-18 18:11:18 +0000
commit3609f4f07936f198d3accfdf80e56eb8e754e256 (patch)
treeba20c4b0e0120a645cd25113492a883864a687e1 /gcc/tree.c
parent126b10988b71a35ab7567ee9b2e404656d02f1be (diff)
downloadgcc-3609f4f07936f198d3accfdf80e56eb8e754e256.tar.gz
* 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45004 138bc75d-0d04-0410-961f-82ee72b054a4
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 9ce19057b6a..0e872517d53 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. */