From 8e2886f4edac2f0e7103447e35793952a8dd2a10 Mon Sep 17 00:00:00 2001
From: ram <ram>
Date: Fri, 15 Nov 1991 13:41:17 +0000
Subject: [PATCH] Fixed CONVERT-MV-CALL to be like CONVERT-CALL in that it
 converts the call to :LOCAL before calling CHANGE-REF-LEAF so that the new
 call can be immediately let-converted.

---
 compiler/locall.lisp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/compiler/locall.lisp b/compiler/locall.lisp
index 9bc798d6f..343ce2831 100644
--- a/compiler/locall.lisp
+++ b/compiler/locall.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/locall.lisp,v 1.21 1991/08/26 17:28:01 ram Exp $")
+  "$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/compiler/locall.lisp,v 1.22 1991/11/15 13:41:17 ram Exp $")
 ;;;
 ;;; **********************************************************************
 ;;;
@@ -337,9 +337,9 @@
 	     (= (length (leaf-refs fun)) 1)
 	     (= (length (basic-combination-args call)) 1))
     (let ((ep (car (last (optional-dispatch-entry-points fun)))))
-      (change-ref-leaf ref ep)
       (setf (basic-combination-kind call) :local)
       (pushnew ep (lambda-calls (node-home-lambda call)))
+      (change-ref-leaf ref ep)
 
       (assert-continuation-type
        (first (basic-combination-args call))
-- 
GitLab