From: Andrea Corallo Date: Sun, 11 Feb 2024 09:43:57 +0000 (+0100) Subject: * Improve reproducibility of inferred values by native comp X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=1d26ba62ac665b8e5512fdba4f6a3812a174a1f5;p=emacs.git * Improve reproducibility of inferred values by native comp * lisp/emacs-lisp/comp-cstr.el (comp-normalize-valset): Do not try to reorder conses using 'sxhash-equal' as its behavior is not reproducible over different sessions. (cherry picked from commit 614b244a7fa03fcb27d76757e14ef0fa895d6f23) --- diff --git a/lisp/emacs-lisp/comp-cstr.el b/lisp/emacs-lisp/comp-cstr.el index 2984bedb1dd..0bc97e51592 100644 --- a/lisp/emacs-lisp/comp-cstr.el +++ b/lisp/emacs-lisp/comp-cstr.el @@ -249,6 +249,8 @@ Return them as multiple value." t) ((and (not (symbolp x)) (symbolp y)) nil) + ((or (consp x) (consp y) + nil)) (t (< (sxhash-equal x) (sxhash-equal y)))))))