From f2af95e57849ef210f8065810e84dcc30fac1d12 Mon Sep 17 00:00:00 2001 From: wlott <wlott> Date: Mon, 19 Oct 1992 14:12:55 +0000 Subject: [PATCH] Added extra stuff necessary to make more-arg-context use the :translate stuff instead of needing a special purpose source-transform into a use of %primitive. --- compiler/mips/call.lisp | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/compiler/mips/call.lisp b/compiler/mips/call.lisp index 0dc083246..806d31ad5 100644 --- a/compiler/mips/call.lisp +++ b/compiler/mips/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/mips/call.lisp,v 1.51 1992/09/23 13:43:20 ram Exp $") + "$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/compiler/mips/call.lisp,v 1.52 1992/10/19 14:12:55 wlott Exp $") ;;; ;;; ********************************************************************** ;;; @@ -1217,12 +1217,15 @@ default-value-8 ;;; stack top. ;;; (define-vop (more-arg-context) + (:policy :fast-safe) + (:translate c::%more-arg-context) (:args (supplied :scs (any-reg))) - (:arg-types positive-fixnum) + (:arg-types tagged-num (:constant fixnum)) (:info fixed) - (:results - (context :scs (descriptor-reg)) - (count :scs (any-reg descriptor-reg))) + (:results (context :scs (descriptor-reg)) + (count :scs (any-reg))) + (:result-types t tagged-num) + (:note "more-arg-context") (:generator 5 (inst addu count supplied (fixnum (- fixed))) (inst subu context csp-tn count))) -- GitLab