aboutsummaryrefslogtreecommitdiffstats
path: root/src/lisp.h
diff options
context:
space:
mode:
authorPaul Eggert2020-01-07 11:23:11 -0800
committerPaul Eggert2020-01-07 11:29:41 -0800
commitf950b078a6f2fd011312e9471998edf6b5fb957e (patch)
treeb26243166a063e13787f19cdad5daf8864b7a151 /src/lisp.h
parent72f54f035dc74a01c1ab5ff444752a994d852490 (diff)
downloademacs-f950b078a6f2fd011312e9471998edf6b5fb957e.tar.gz
emacs-f950b078a6f2fd011312e9471998edf6b5fb957e.zip
Help the compiler inline sxhash
* src/fns.c (sxhash_obj): Rename from sxhash and make it static, so that the compiler can inline it better. (sxhash): New function that does not take a depth arg. All callers changed.
Diffstat (limited to 'src/lisp.h')
-rw-r--r--src/lisp.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lisp.h b/src/lisp.h
index e1bbb53ad49..1a1ae0399be 100644
--- a/src/lisp.h
+++ b/src/lisp.h
@@ -3652,7 +3652,7 @@ extern bool sweep_weak_table (struct Lisp_Hash_Table *, bool);
3652extern void hexbuf_digest (char *, void const *, int); 3652extern void hexbuf_digest (char *, void const *, int);
3653extern char *extract_data_from_object (Lisp_Object, ptrdiff_t *, ptrdiff_t *); 3653extern char *extract_data_from_object (Lisp_Object, ptrdiff_t *, ptrdiff_t *);
3654EMACS_UINT hash_string (char const *, ptrdiff_t); 3654EMACS_UINT hash_string (char const *, ptrdiff_t);
3655EMACS_UINT sxhash (Lisp_Object, int); 3655EMACS_UINT sxhash (Lisp_Object);
3656Lisp_Object hashfn_eql (Lisp_Object, struct Lisp_Hash_Table *); 3656Lisp_Object hashfn_eql (Lisp_Object, struct Lisp_Hash_Table *);
3657Lisp_Object hashfn_equal (Lisp_Object, struct Lisp_Hash_Table *); 3657Lisp_Object hashfn_equal (Lisp_Object, struct Lisp_Hash_Table *);
3658Lisp_Object hashfn_user_defined (Lisp_Object, struct Lisp_Hash_Table *); 3658Lisp_Object hashfn_user_defined (Lisp_Object, struct Lisp_Hash_Table *);