Use same hash function for hashfn_profiler as for hash_string etc.
authorPaul Eggert <eggert@cs.ucla.edu>
Thu, 8 Nov 2012 21:43:34 +0000 (13:43 -0800)
committerPaul Eggert <eggert@cs.ucla.edu>
Thu, 8 Nov 2012 21:43:34 +0000 (13:43 -0800)
commit04a2d0d38a2835db6c2e5a74cd7701555a7eb826
treeab23bf51e55b69c0173647e33b0769d83a306cf8
parentde5ef41a76f05eb072ef06b053e543ce67fa3241
Use same hash function for hashfn_profiler as for hash_string etc.

* fns.c (SXHASH_COMBINE): Remove.  All uses replaced by sxhash_combine.
* lisp.h (sxhash_combine): New inline function, with the contents
of the old SXHASH_COMBINE.
* profiler.c (hashfn_profiler): Use it, instead of having a
special hash function containing a comparison that always yields 1.
src/ChangeLog
src/fns.c
src/lisp.h
src/profiler.c