From b6a9028544298b46cbc2588f97e26c8782e9edc7 Mon Sep 17 00:00:00 2001 From: wlott <wlott> Date: Fri, 20 Jul 1990 00:40:19 +0000 Subject: [PATCH] Changed to correspond to new call-out convention. --- compiler/mips/print.lisp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/compiler/mips/print.lisp b/compiler/mips/print.lisp index 970ee89a4..5d311c55e 100644 --- a/compiler/mips/print.lisp +++ b/compiler/mips/print.lisp @@ -7,7 +7,7 @@ ;;; Scott Fahlman (FAHLMAN@CMUC). ;;; ********************************************************************** ;;; -;;; $Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/compiler/mips/print.lisp,v 1.4 1990/06/26 03:50:23 wlott Exp $ +;;; $Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/compiler/mips/print.lisp,v 1.5 1990/07/20 00:40:19 wlott Exp $ ;;; ;;; This file contains temporary printing utilities and similar noise. ;;; @@ -17,10 +17,11 @@ (define-vop (print) - (:args (object :scs (descriptor-reg))) + (:args (object :scs (descriptor-reg) :target a0)) (:results (result :scs (descriptor-reg))) (:save-p t) (:temporary (:sc any-reg :offset 2) v0) + (:temporary (:sc descriptor-reg :offset 4 :from (:argument 0)) a0) (:temporary (:sc any-reg :offset lra-offset) lra) (:temporary (:sc any-reg :offset code-offset) code) (:temporary (:scs (non-descriptor-reg)) temp) @@ -29,10 +30,10 @@ (:generator 0 (let ((lra-label (gen-label)) (cur-nfp (current-nfp-tn vop))) + (move a0 object) (when cur-nfp (store-stack-tn nfp-save cur-nfp)) (inst addu nsp-tn nsp-tn -16) - (storew object nsp-tn 0) (inst compute-lra-from-code lra code lra-label temp) (inst li v0 (make-fixup "debug_print" :foreign)) (inst li temp (make-fixup "call_into_c" :foreign)) -- GitLab