Style improvements and minor bugfix from sb-fasteval integration.
[sbcl.git] / src / code / late-deftypes-for-target.lisp
blobdadff6044c5b3c4cc427b27b089a10f27ae3ba2d
1 (in-package "SB!KERNEL")
3 ;; Not sure why this needs to be 'late'. A deftype body produces forms,
4 ;; not code that cares whether sb!eval:interpreted-function means anything.
5 (sb!xc:deftype compiled-function ()
6 '(and function
7 #!+sb-fasteval (not sb!interpreter:interpreted-function)
8 #!+sb-eval (not sb!eval:interpreted-function)))
10 #+sb-xc-host
11 ;; Restore this to its build-the-xc compile-time value at load-time.
12 (setq sb!impl::!*xc-processed-deftypes* '#.sb!impl::!*xc-processed-deftypes*)