From 844ea20e966eba79715bbd1c007b474262a57222 Mon Sep 17 00:00:00 2001 From: hubicka Date: Mon, 21 Aug 2006 01:53:11 +0000 Subject: * tree-ssa-alias.c (eq_ptr_info, ptr_info_hash): New function. (create_name_tags): Instead of quadratic checking use hashtable. * bitmap.h: Include hashtab.h. (bitmap_hash): Declare. * bitmap.c (bitmap_hash): New function. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@116285 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/bitmap.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'gcc/bitmap.h') diff --git a/gcc/bitmap.h b/gcc/bitmap.h index d11fa46243b..3da58c5ba2b 100644 --- a/gcc/bitmap.h +++ b/gcc/bitmap.h @@ -21,6 +21,7 @@ Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA #ifndef GCC_BITMAP_H #define GCC_BITMAP_H +#include "hashtab.h" /* Fundamental storage type for bitmap. */ @@ -164,6 +165,9 @@ extern void bitmap_obstack_free (bitmap); #define bitmap_zero(a) bitmap_clear (a) extern unsigned bitmap_first_set_bit (bitmap); +/* Compute bitmap hash (for purposes of hashing etc.) */ +extern hashval_t bitmap_hash(bitmap); + /* Allocate a bitmap from a bit obstack. */ #define BITMAP_ALLOC(OBSTACK) bitmap_obstack_alloc (OBSTACK) -- cgit v1.2.1