Skip to content
Snippets Groups Projects
Commit 930d1e01 authored by ram's avatar ram
Browse files

Fixed an occasional NIL not CONTINUATION error in DELETE-CONTINUATION when the

DEST has been UNLINK-NODE'ed.
parent 7a874e77
No related branches found
No related tags found
No related merge requests found
......@@ -7,7 +7,7 @@
;;; Scott Fahlman or slisp-group@cs.cmu.edu.
;;;
(ext:file-comment
"$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/compiler/ir1util.lisp,v 1.54 1992/04/18 12:06:57 ram Exp $")
"$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/compiler/ir1util.lisp,v 1.55 1992/06/02 00:35:25 ram Exp $")
;;;
;;; **********************************************************************
;;;
......@@ -922,9 +922,12 @@
(let ((dest (continuation-dest cont)))
(when dest
(let ((block (node-block dest)))
(unless (block-delete-p block)
(mark-for-deletion block)))))
(let ((prev (node-prev dest)))
(when (and prev
(not (eq (continuation-kind prev) :deleted)))
(let ((block (continuation-block prev)))
(unless (block-delete-p block)
(mark-for-deletion block)))))))
(setf (continuation-kind cont) :deleted)
(setf (continuation-dest cont) nil)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment