X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Fcode%2Ftarget-type.lisp;h=ddf35edcfbb567b723ca0965af6a2114f97061e7;hb=b1c7011c1f5d50b9821c07db75b1d5c3c6881062;hp=fc5250b5a118811ea9a57686376d27680f48f458;hpb=2d3cb6dba6461e98744eca2a1df4f770cea468ca;p=sbcl.git diff --git a/src/code/target-type.lisp b/src/code/target-type.lisp index fc5250b..ddf35ed 100644 --- a/src/code/target-type.lisp +++ b/src/code/target-type.lisp @@ -148,7 +148,10 @@ ;;; Clear memoization of all type system operations that can be ;;; altered by type definition/redefinition. +;;; +;;; FIXME: This should be autogenerated. (defun clear-type-caches () + (declare (special *type-system-initialized*)) (when *type-system-initialized* (dolist (sym '(values-specifier-type-cache-clear values-type-union-cache-clear @@ -156,7 +159,8 @@ values-subtypep-cache-clear csubtypep-cache-clear type-intersection2-cache-clear - values-type-intersection-cache-clear)) + values-type-intersection-cache-clear + type=-cache-clear)) (funcall (the function (symbol-function sym))))) (values))