1 ;;;; temporary printing utilities and similar noise
3 ;;;; This software is part of the SBCL system. See the README file for
6 ;;;; This software is derived from the CMU CL system, which was
7 ;;;; written at Carnegie Mellon University and released into the
8 ;;;; public domain. The software is in the public domain and is
9 ;;;; provided with absolutely no warranty. See the COPYING and CREDITS
10 ;;;; files for more information.
15 (:args (object :scs (descriptor-reg any-reg) :target nl0))
16 (:results (result :scs (descriptor-reg)))
18 (:temporary (:sc any-reg :offset nl0-offset :from (:argument 0)) nl0)
19 (:temporary (:sc any-reg :offset cfunc-offset) cfunc)
20 (:temporary (:sc interior-reg :offset lip-offset) lip)
21 (:temporary (:scs (non-descriptor-reg)) temp)
22 (:temporary (:sc control-stack :offset nfp-save-offset) nfp-save)
25 (let ((cur-nfp (current-nfp-tn vop)))
27 (store-stack-tn nfp-save cur-nfp))
29 (inst li cfunc (make-fixup "debug_print" :foreign))
30 (inst li temp (make-fixup "call_into_c" :foreign))
34 (load-stack-tn cur-nfp nfp-save))