diff --git a/compiler/ltn.lisp b/compiler/ltn.lisp index 77af273b545701e2e83604558875d9e7d4da4a70..cb0d74e70cf6ae5b9e0afa64d4da478fe7cd7cb8 100644 --- a/compiler/ltn.lisp +++ b/compiler/ltn.lisp @@ -77,15 +77,12 @@ ;;; Continuation-Delayed-Leaf -- Internal ;;; ;;; If Cont is used only by a Ref to a leaf that can be delayed, then return -;;; the leaf, otherwise return NIL. We have to explicitly check for NLX -;;; continuations, since they are sleazily referenced by IR2 conversion. +;;; the leaf, otherwise return NIL. ;;; (defun continuation-delayed-leaf (cont) (declare (type continuation cont)) (let ((use (continuation-use cont))) (and (ref-p use) - (not (find cont (environment-nlx-info (node-environment use)) - :key #'nlx-info-continuation)) (let ((leaf (ref-leaf use))) (etypecase leaf (lambda-var (if (null (lambda-var-sets leaf)) leaf nil))