X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Fcompiler%2Fhppa%2Fvm.lisp;h=87d3c9c699eb3de72a230bc52b15a16cf8fc33fe;hb=0e5a40455a1a3cc16cc71ad0f0b063eb4f1f2c3f;hp=3a2477a883633b512e697a3e9c00ee5600332589;hpb=8a19c6876412b8ad1cf729297c2a373d63a0d0ec;p=sbcl.git diff --git a/src/compiler/hppa/vm.lisp b/src/compiler/hppa/vm.lisp index 3a2477a..87d3c9c 100644 --- a/src/compiler/hppa/vm.lisp +++ b/src/compiler/hppa/vm.lisp @@ -1,3 +1,14 @@ +;;;; miscellaneous VM definition noise for HPPA + +;;;; 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") @@ -99,7 +110,7 @@ ((null classes) (nreverse forms)))) -(def!constant sb!vm::kludge-nondeterministic-catch-block-size 7) +(def!constant kludge-nondeterministic-catch-block-size 7) (!define-storage-classes @@ -217,7 +228,7 @@ :alternate-scs (complex-double-stack)) ;; A catch or unwind block. - (catch-block control-stack :element-size sb!vm::kludge-nondeterministic-catch-block-size)) + (catch-block control-stack :element-size kludge-nondeterministic-catch-block-size)) ;;;; Make some random tns for important registers. @@ -258,11 +269,8 @@ :offset 0)) -;;; Immediate-Constant-SC -- Interface -;;; -;;; If value can be represented as an immediate constant, then return the -;;; appropriate SC number, otherwise return NIL. -;;; +;;; If VALUE can be represented as an immediate constant, then return +;;; the appropriate SC number, otherwise return NIL. (!def-vm-support-routine immediate-constant-sc (value) (typecase value ((integer 0 0) @@ -308,7 +316,7 @@ ;;; (defconstant-eqx register-arg-names '(a0 a1 a2 a3 a4 a5) #'equal) -); Eval-When (:Compile-Toplevel :Load-Toplevel :Execute) +) ; EVAL-WHEN ;;; A list of TN's describing the register arguments. @@ -320,18 +328,11 @@ :offset n)) *register-arg-offsets*)) -;;; SINGLE-VALUE-RETURN-BYTE-OFFSET -;;; ;;; This is used by the debugger. -;;; (defconstant single-value-return-byte-offset 4) - -;;; LOCATION-PRINT-NAME -- Interface -;;; -;;; This function is called by debug output routines that want a pretty name +;;; This function is called by debug output routines that want a pretty name ;;; for a TN's location. It returns a thing that can be printed with PRINC. -;;; (!def-vm-support-routine location-print-name (tn) (declare (type tn tn)) (let ((sb (sb-name (sc-sb (tn-sc tn))))