X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Fcode%2Ftype-init.lisp;h=9f40927f6f673c740fc2ab28b2301946b3de6d99;hb=4680204d81349894f47d2ba5fcfc92ecf4e725d3;hp=9792ef2c8470cbf71be1ca6215a34e59f82c8015;hpb=2d3cb6dba6461e98744eca2a1df4f770cea468ca;p=sbcl.git diff --git a/src/code/type-init.lisp b/src/code/type-init.lisp index 9792ef2..9f40927 100644 --- a/src/code/type-init.lisp +++ b/src/code/type-init.lisp @@ -1,10 +1,10 @@ ;;;; When this file's top level forms are run, it precomputes the ;;;; translations for commonly used type specifiers. This stuff is ;;;; split off from the other type stuff to get around problems with -;;;; everything needing to be loaded before everything else. This is -;;;; the first file which really exercises the type stuff. This stuff -;;;; is also somewhat implementation-dependent in that implementations -;;;; may want to precompute other types which are important to them. +;;;; everything needing to be loaded before everything else. This +;;;; stuff is also somewhat implementation-dependent in that +;;;; implementations may want to precompute other types which are +;;;; important to them. ;;;; This software is part of the SBCL system. See the README file for ;;;; more information. @@ -17,20 +17,6 @@ (in-package "SB!KERNEL") -;;; built-in classes -(/show0 "beginning type-init.lisp") -(dolist (x *built-in-classes*) - (destructuring-bind (name &key (translation nil trans-p) &allow-other-keys) - x - (/show0 "doing class with NAME=..") - (/primitive-print (symbol-name name)) - (when trans-p - (/show0 "in TRANS-P case") - (let ((classoid (classoid-cell-classoid (find-classoid-cell name))) - (type (specifier-type translation))) - (setf (built-in-classoid-translation classoid) type) - (setf (info :type :builtin name) type))))) - ;;; numeric types (/show0 "precomputing numeric types") (precompute-types '((mod 2) (mod 4) (mod 16) (mod #x100) (mod #x10000)