X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Fcompiler%2Fglobaldb.lisp;h=394e020058fa459f2040903d038ef73718ddef16;hb=95591ed483dbb8c0846c129953acac1554f28809;hp=50a425e71d26c8b7df43fe700209deb43c21af4f;hpb=0408e5d19ea46776d7bdad4a46f643e5e9c27bfe;p=sbcl.git diff --git a/src/compiler/globaldb.lisp b/src/compiler/globaldb.lisp index 50a425e..394e020 100644 --- a/src/compiler/globaldb.lisp +++ b/src/compiler/globaldb.lisp @@ -1035,12 +1035,6 @@ (define-info-type :class :function - :type :documentation - :type-spec (or string null) - :default nil) - -(define-info-type - :class :function :type :definition :type-spec (or fdefn null) :default nil) @@ -1059,10 +1053,16 @@ (define-info-type :class :variable :type :kind - :type-spec (member :special :constant :macro :global :alien) + :type-spec (member :special :constant :macro :global :alien :unknown) :default (if (typep name '(or boolean keyword)) :constant - :global)) + :unknown)) + +(define-info-type + :class :variable + :type :always-bound + :type-spec boolean + :default nil) ;;; the declared type for this variable (define-info-type @@ -1200,6 +1200,10 @@ (when (info :type :kind name) (error 'declaration-type-conflict-error :format-arguments (list name))))) +(define-info-type + :class :declaration + :type :handler + :type-spec (or function null)) (define-info-class :alien-type) (define-info-type