From cb0039e447adaec98990051e262947a664e2e3eb Mon Sep 17 00:00:00 2001 From: ram <ram> Date: Wed, 3 Jun 1992 20:04:29 +0000 Subject: [PATCH] Added setting of COMPONENT-REANALYZE all places where we do UNLINK-BLOCKS and might create dead code. --- compiler/ir1util.lisp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/compiler/ir1util.lisp b/compiler/ir1util.lisp index b24acdb6c..878cc0e82 100644 --- a/compiler/ir1util.lisp +++ b/compiler/ir1util.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/ir1util.lisp,v 1.55 1992/06/02 00:35:25 ram Exp $") + "$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/compiler/ir1util.lisp,v 1.56 1992/06/03 20:04:29 ram Exp $") ;;; ;;; ********************************************************************** ;;; @@ -461,6 +461,7 @@ (defun change-block-successor (block old new) (declare (type cblock new old block)) (unlink-blocks block old) + (setf (component-reanalyze (block-component block)) t) (unless (member new (block-succ block)) (link-blocks block new)) @@ -892,6 +893,7 @@ (declare (type cblock block)) (unless (block-delete-p block) (setf (block-delete-p block) t) + (setf (component-reanalyze (block-component block)) t) (dolist (pred (block-pred block)) (mark-for-deletion pred))) (undefined-value)) -- GitLab