From 4aeb2fd7dc969a0ef6f39405262173d57b8d2df9 Mon Sep 17 00:00:00 2001 From: ram <ram> Date: Thu, 6 Jan 1994 18:04:03 +0000 Subject: [PATCH] In propagate-local-call-args, don't do anything if there is an optional-dispatch specified. The last fixed entry point won't be referenced by the XEP, so we can't count on that providing a T type input. --- compiler/ir1opt.lisp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/compiler/ir1opt.lisp b/compiler/ir1opt.lisp index e76935150..7b62aeecd 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.63 1993/08/31 22:52:26 ram Exp $") + "$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/compiler/ir1opt.lisp,v 1.64 1994/01/06 18:04:03 ram Exp $") ;;; ;;; ********************************************************************** ;;; @@ -1372,7 +1372,8 @@ (defun propagate-local-call-args (call fun) (declare (type combination call) (type clambda fun)) - (unless (functional-entry-function fun) + (unless (or (functional-entry-function fun) + (lambda-optional-dispatch fun)) (let* ((vars (lambda-vars fun)) (union (mapcar #'(lambda (arg var) (when (and arg -- GitLab