X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Fcode%2Fbyte-types.lisp;h=e8b85d624fd151d1a39a873b256d46e651f3610a;hb=b5703d98da9ebfd688c87e14862ab4e26dc94d14;hp=2b7d5f32262515f752b569a61d024b3bbdb86216;hpb=60011b86627fa68eeacffd49c49826e474c7fd82;p=sbcl.git diff --git a/src/code/byte-types.lisp b/src/code/byte-types.lisp index 2b7d5f3..e8b85d6 100644 --- a/src/code/byte-types.lisp +++ b/src/code/byte-types.lisp @@ -46,7 +46,8 @@ (lambda (x stream) (print-unreadable-object (x stream :type t :identity t) (prin1 (byte-function-name (byte-closure-function x)) - stream))))) + stream)))) + (:copier nil)) ;; the byte function that we call (function (required-argument) :type byte-function) ;; the closure data vector @@ -56,7 +57,8 @@ ;;; object for a closure) (defstruct (byte-function (:include byte-function-or-closure) (:type funcallable-structure) - (:constructor nil)) + (:constructor nil) + (:copier nil)) ;; The component that this XEP is an entry point into. NIL until ;; LOAD or MAKE-CORE-BYTE-COMPONENT fills it in. They count on this ;; being the first slot. @@ -73,7 +75,8 @@ ;;; fixed-argument byte function (defstruct (simple-byte-function (:include byte-function) - (:type funcallable-structure)) + (:type funcallable-structure) + (:copier nil)) ;; The number of arguments expected. (num-args 0 :type (integer 0 #.call-arguments-limit)) ;; The start of the function. @@ -81,7 +84,8 @@ ;;; variable-arg-count byte function (defstruct (hairy-byte-function (:include byte-function) - (:type funcallable-structure)) + (:type funcallable-structure) + (:copier nil)) ;; The minimum and maximum number of args, ignoring &REST and &KEY. (min-args 0 :type (integer 0 #.call-arguments-limit)) (max-args 0 :type (integer 0 #.call-arguments-limit)) @@ -97,11 +101,11 @@ (rest-arg-p nil :type (member t nil)) ;; True if there are keywords. Note: keywords might still be NIL ;; because having &KEY with no keywords is valid and should result - ;; in allow-other-keys processing. If :allow-others, then allow + ;; in &ALLOW-OTHER-KEYS processing. If :ALLOW-OTHERS, then allow ;; other keys. (keywords-p nil :type (member t nil :allow-others)) - ;; List of keyword arguments. Each element is a list of: - ;; key, default, supplied-p. + ;; list of &KEY arguments. Each element is a list of: + ;; key, default, supplied-p. (keywords nil :type list)) #!-sb-fluid (declaim (freeze-type byte-function-or-closure))