X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Fcompiler%2Falpha%2Fshow.lisp;h=9d1a74d7a040dd3444e383ca1db4900c14e3d7ad;hb=ef0891e470ff35840def7a5717ede18a58266e76;hp=432198c6a836bb53db287694606d9b2d2cb970a8;hpb=dfa55a883f94470267b626dae77ce7e7dfac3df6;p=sbcl.git diff --git a/src/compiler/alpha/show.lisp b/src/compiler/alpha/show.lisp index 432198c..9d1a74d 100644 --- a/src/compiler/alpha/show.lisp +++ b/src/compiler/alpha/show.lisp @@ -1,28 +1,22 @@ -;;; -*- Package: ALPHA -*- -;;; -;;; ********************************************************************** -;;; This code was written as part of the CMU Common Lisp project at -;;; Carnegie Mellon University, and has been placed in the public domain. -;;; +;;;; temporary printing utilities and similar noise -;;; -;;; ********************************************************************** -;;; -;;; This file contains temporary printing utilities and similar noise. -;;; -;;; Written by William Lott. -;;; Converted by Sean Hallgren. +;;;; This software is part of the SBCL system. See the README file for +;;;; more information. +;;;; +;;;; This software is derived from the CMU CL system, which was +;;;; written at Carnegie Mellon University and released into the +;;;; public domain. The software is in the public domain and is +;;;; provided with absolutely no warranty. See the COPYING and CREDITS +;;;; files for more information. (in-package "SB!VM") - - (define-vop (print) (:args (object :scs (descriptor-reg) :target a0)) (:results (result :scs (descriptor-reg))) (:save-p t) (:temporary (:sc any-reg :offset cfunc-offset :target result :to (:result 0)) - cfunc) + cfunc) (:temporary (:sc descriptor-reg :offset nl0-offset :from (:argument 0)) a0) (:temporary (:sc control-stack :offset nfp-save-offset) nfp-save) (:temporary (:scs (non-descriptor-reg)) temp) @@ -31,10 +25,10 @@ (let ((cur-nfp (current-nfp-tn vop))) (move object a0) (when cur-nfp - (store-stack-tn nfp-save cur-nfp)) + (store-stack-tn nfp-save cur-nfp)) (inst li (make-fixup "debug_print" :foreign) cfunc) (inst li (make-fixup "call_into_c" :foreign) temp) (inst jsr lip-tn temp (make-fixup "call_into_c" :foreign)) (when cur-nfp - (maybe-load-stack-nfp-tn cur-nfp nfp-save temp)) + (maybe-load-stack-nfp-tn cur-nfp nfp-save temp)) (move cfunc result))))