From 26e41b25c5a6b647b6b4a083441e32fb2eaeab1b Mon Sep 17 00:00:00 2001 From: ram <ram> Date: Sun, 10 Mar 1991 18:27:30 +0000 Subject: [PATCH] Added an assertion in single-use continuation variable substitution. --- compiler/ir1opt.lisp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/compiler/ir1opt.lisp b/compiler/ir1opt.lisp index 2db37e59e..658ec875c 100644 --- a/compiler/ir1opt.lisp +++ b/compiler/ir1opt.lisp @@ -7,7 +7,7 @@ ;;; Scott Fahlman or slisp-group@cs.cmu.edu. ;;; (ext:file-comment - "$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/compiler/ir1opt.lisp,v 1.24 1991/02/20 14:57:49 ram Exp $") + "$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/compiler/ir1opt.lisp,v 1.25 1991/03/10 18:27:30 ram Exp $") ;;; ;;; ********************************************************************** ;;; @@ -1073,6 +1073,8 @@ (lambda-home (lambda-var-home var))) (member (continuation-type-check arg) '(t nil)) (member (continuation-type-check cont) '(t nil))) + (assert (member (continuation-kind arg) + '(:block-start :deleted-block-start :inside-block))) (assert-continuation-type arg (continuation-asserted-type cont)) (change-ref-leaf ref (find-constant nil)) (substitute-continuation arg cont) -- GitLab