master: functional-kind can't be zombie and let at the same time

stassats via Sbcl-commits <[email protected]> Tue, 04 Aug 2026 02:38:15 +0000
Newsgroups gmane.lisp.steel-bank.cvs
Message-ID <[email protected]>
The branch "master" has been updated in SBCL:
       via  8b4b67101ac8218e3a072dcb06262c2ab593db80 (commit)
      from  9c53205f5f2eebe979d5b106030104c490633f5d (commit)

- Log -----------------------------------------------------------------
commit 8b4b67101ac8218e3a072dcb06262c2ab593db80
Author: Stas Boukarev <[email protected]>
Date:   Tue Aug 4 05:32:25 2026 +0300

    functional-kind can't be zombie and let at the same time
---
 src/compiler/ir1opt.lisp | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/src/compiler/ir1opt.lisp b/src/compiler/ir1opt.lisp
index 6377d5aeb..d9ada3778 100644
--- a/src/compiler/ir1opt.lisp
+++ b/src/compiler/ir1opt.lisp
@@ -1240,8 +1240,7 @@
                (when l
                  (unless (eq (lambda-home l) home)
                    (return nil))
-                 (when (and (functional-kind-eq l let)
-                            (not (functional-kind-eq l zombie)))
+                 (when (functional-kind-eq l let)
                    (return l)))))))
 
 (defun add-variable-to-let-lambda (let-lambda v)

-----------------------------------------------------------------------


hooks/post-receive
-- 
SBCL