X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Fcode%2Fcross-sap.lisp;h=0db3c163332bd0d6ae9a6847152f2748f3281aaf;hb=0b5610d8a220a4b20cbeac958953ca4d67c00038;hp=d4fcfe90c87b25010b813f49b7f49e5b26a08a5c;hpb=a530bbe337109d898d5b4a001fc8f1afa3b5dc39;p=sbcl.git diff --git a/src/code/cross-sap.lisp b/src/code/cross-sap.lisp index d4fcfe9..0db3c16 100644 --- a/src/code/cross-sap.lisp +++ b/src/code/cross-sap.lisp @@ -12,13 +12,11 @@ (in-package "SB!SYS") -(file-comment - "$Header$") - -;;; 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-")) +;;; 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-")) ;; the integer representation of the address (int (error "missing SAP-INT argument") :type sap-int-type :read-only t)) @@ -35,9 +33,10 @@ (,int-fun (sap-int x) (sap-int y))))) '((sap< <) (sap<= <=) (sap= =) (sap>= >=) (sap> >) (sap- -)))) -;;; dummies, defined so that we can declare they never return and thereby -;;; eliminate a thundering herd of optimization notes a la "can't optimize this -;;; expression because we don't know the return type of SAP-REF-8" +;;; dummies, defined so that we can declare they never return and +;;; thereby eliminate a thundering herd of optimization notes along +;;; the lines of "can't optimize this expression because we don't know +;;; the return type of SAP-REF-8" (defun sap-ref-stub (name) (error "~S doesn't make sense on cross-compilation host." name)) #.`(progn