X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Fcompiler%2Ffndb.lisp;h=7215ff49120eb13616131ba3f7899f3dfda5da90;hb=683874b497a99cd2c11b6c5d9b47e2785b1ede5f;hp=986689dbc5663cfce79242e82515af81b8ce52b0;hpb=4a0ab5193096ca70dbbf43bb21418544f6d018b7;p=sbcl.git diff --git a/src/compiler/fndb.lisp b/src/compiler/fndb.lisp index 986689d..7215ff4 100644 --- a/src/compiler/fndb.lisp +++ b/src/compiler/fndb.lisp @@ -1170,8 +1170,7 @@ ;; extensions (:trace-file t) - (:block-compile t) - (:byte-compile (member t nil :maybe))) + (:block-compile t)) (values (or pathname null) boolean boolean)) (defknown disassemble (callable &key @@ -1298,8 +1297,8 @@ (values (simple-array * (*)) index index index) (foldable flushable)) (defknown %set-symbol-package (symbol t) t (unsafe)) -(defknown %coerce-name-to-function ((or symbol cons)) function (flushable)) -(defknown %coerce-callable-to-function (callable) function (flushable)) +(defknown %coerce-name-to-fun ((or symbol cons)) function (flushable)) +(defknown %coerce-callable-to-fun (callable) function (flushable)) (defknown failed-%with-array-data (t t t) nil) (defknown %find-position (t sequence t index sequence-end function function) @@ -1319,7 +1318,7 @@ (defknown %slot-accessor (t) t (flushable)) (defknown %slot-setter (t t) t (unsafe)) -(defknown sb!kernel::do-arg-count-error (t t t t t t) nil (unsafe)) +(defknown sb!kernel::arg-count-error (t t t t t t) nil (unsafe)) ;;;; SETF inverses @@ -1335,10 +1334,15 @@ (defknown %charset (string index character) character (unsafe)) (defknown %scharset (simple-string index character) character (unsafe)) (defknown %set-symbol-value (symbol t) t (unsafe)) -(defknown fset (symbol function) function (unsafe)) +(defknown (setf symbol-function) (function symbol) function (unsafe)) (defknown %set-symbol-plist (symbol t) t (unsafe)) (defknown (setf fdocumentation) ((or string null) t symbol) (or string null) ()) (defknown %setnth (index list t) t (unsafe)) (defknown %set-fill-pointer (vector index) index (unsafe)) + +;;;; miscellaneous internal utilities + +(defknown %fun-name (function) t (flushable)) +(defknown (setf %fun-name) (t function) t (unsafe))