emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

emacs-29 614b244a7fa: * Improve reproducibility of inferred values by na


From: Andrea Corallo
Subject: emacs-29 614b244a7fa: * Improve reproducibility of inferred values by native comp
Date: Sun, 11 Feb 2024 05:17:13 -0500 (EST)

branch: emacs-29
commit 614b244a7fa03fcb27d76757e14ef0fa895d6f23
Author: Andrea Corallo <acorallo@gnu.org>
Commit: Andrea Corallo <acorallo@gnu.org>

    * 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.
---
 lisp/emacs-lisp/comp-cstr.el | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/lisp/emacs-lisp/comp-cstr.el b/lisp/emacs-lisp/comp-cstr.el
index 812a79f070d..ecbe6e38a1d 100644
--- a/lisp/emacs-lisp/comp-cstr.el
+++ b/lisp/emacs-lisp/comp-cstr.el
@@ -203,6 +203,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)))))))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]