X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Fcode%2Fcross-sap.lisp;h=fc0d0a0f907ad63b0a6bdc2500565cc9c10cc5e0;hb=bcbbce86c47a1c530d488c7876a453100fcd933e;hp=cc48ea08bf154cb36af3cd33c1ecdca7724b1fb9;hpb=e02c32bd4d07a7d30c9a9d78be54f1f9f84f9877;p=sbcl.git diff --git a/src/code/cross-sap.lisp b/src/code/cross-sap.lisp index cc48ea0..fc0d0a0 100644 --- a/src/code/cross-sap.lisp +++ b/src/code/cross-sap.lisp @@ -15,15 +15,16 @@ ;;; SYSTEM-AREA-POINTER is not a primitive type in ANSI Common Lisp, ;;; so we need a compound type to represent it in the host Common Lisp ;;; at cross-compile time: -(defstruct (system-area-pointer (:constructor make-sap) (:conc-name "SAP-")) +(defstruct (system-area-pointer (:constructor make-sap) + (:conc-name "SAP-")) ;; the integer representation of the address - (int (error "missing SAP-INT argument") :type sap-int-type :read-only t)) + (int (error "missing SAP-INT argument") :type sap-int :read-only t)) ;;; cross-compilation-host analogues of target-CMU CL primitive SAP operations (defun int-sap (int) (make-sap :int int)) (defun sap+ (sap offset) - (declare (type system-area-pointer sap) (type sap-int-type offset)) + (declare (type system-area-pointer sap) (type sap-int offset)) (make-sap :int (+ (sap-int sap) offset))) #.`(progn ,@(mapcar (lambda (info)