From ffbbc03d7d9d4938fae50f4a39bcac5faf6abee8 Mon Sep 17 00:00:00 2001 From: wlott <wlott> Date: Thu, 21 May 1992 14:36:32 +0000 Subject: [PATCH] Fixed tail-call and tail-call-named to be :save-p :compute-only now that they emit code locations. --- compiler/mips/call.lisp | 12 ++++++------ compiler/sparc/call.lisp | 10 +++++----- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/compiler/mips/call.lisp b/compiler/mips/call.lisp index 454b35776..10f66bc10 100644 --- a/compiler/mips/call.lisp +++ b/compiler/mips/call.lisp @@ -7,11 +7,11 @@ ;;; Scott Fahlman or slisp-group@cs.cmu.edu. ;;; (ext:file-comment - "$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/compiler/mips/call.lisp,v 1.46 1992/05/21 02:18:55 wlott Exp $") + "$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/compiler/mips/call.lisp,v 1.47 1992/05/21 14:36:14 wlott Exp $") ;;; ;;; ********************************************************************** ;;; -;;; $Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/compiler/mips/call.lisp,v 1.46 1992/05/21 02:18:55 wlott Exp $ +;;; $Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/compiler/mips/call.lisp,v 1.47 1992/05/21 14:36:14 wlott Exp $ ;;; ;;; This file contains the VM definition of function call for the MIPS. ;;; @@ -677,10 +677,10 @@ default-value-8 ,@(when (eq return :fixed) '((:results (values :more t)))) - ,@(unless (eq return :tail) - `((:save-p t) - ,@(unless variable - '((:move-args :full-call))))) + (:save-p ,(if (eq return :tail) :compute-only t)) + + ,@(unless (or (eq return :tail) variable) + '((:move-args :full-call))) (:vop-var vop) (:info ,@(unless (or variable (eq return :tail)) '(arg-locs)) diff --git a/compiler/sparc/call.lisp b/compiler/sparc/call.lisp index 70f15655c..e82df2a37 100644 --- a/compiler/sparc/call.lisp +++ b/compiler/sparc/call.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/sparc/call.lisp,v 1.15 1992/05/21 03:04:48 wlott Exp $") + "$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/compiler/sparc/call.lisp,v 1.16 1992/05/21 14:36:32 wlott Exp $") ;;; ;;; ********************************************************************** ;;; @@ -665,10 +665,10 @@ default-value-8 ,@(when (eq return :fixed) '((:results (values :more t)))) - ,@(unless (eq return :tail) - `((:save-p t) - ,@(unless variable - '((:move-args :full-call))))) + (:save-p ,(if (eq return :tail) :compute-only t)) + + ,@(unless (or (eq return :tail) variable) + '((:move-args :full-call))) (:vop-var vop) (:info ,@(unless (or variable (eq return :tail)) '(arg-locs)) -- GitLab