Fixed circular dependency on FILL, that failed if the compiled ECL needed to clear the cache before the block where FILL resides was defined.

This commit is contained in:
Juan Jose Garcia Ripoll 2009-06-07 18:52:57 +02:00
parent b5031098b3
commit 8052131a85

View file

@ -19,9 +19,8 @@
(defvar *upgraded-array-element-type-cache* (si:make-vector t 128 nil nil nil 0))
(defun subtypep-clear-cache ()
(when (fboundp 'fill)
(fill *subtypep-cache* nil)
(fill *upgraded-array-element-type-cache* nil)))
(si:fill-array-with-elt *subtypep-cache* nil 0 nil)
(si:fill-array-with-elt *upgraded-array-element-type-cache* nil 0 nil))
(defun create-type-name (name)
(when (member name *alien-declarations*)