0.pre7.29:
[sbcl.git] / src / code / target-type.lisp
index 91757e6..871cb84 100644 (file)
 
 ;;; Pull the type specifier out of a function object.
 (defun extract-function-type (fun)
-  (cond #!+sb-interpreter
-       ((sb!eval:interpreted-function-p fun)
-        (sb!eval:interpreted-function-type fun))
-       (t
-        (typecase fun
-          (byte-function (byte-function-type fun))
-          (byte-closure (byte-function-type (byte-closure-function fun)))
-          (t
-           (specifier-type (%function-type (%closure-function fun))))))))
+  (typecase fun
+    (byte-function (byte-function-type fun))
+    (byte-closure (byte-function-type (byte-closure-function fun)))
+    (t
+     (specifier-type (%function-type (%closure-function fun))))))
 \f
 ;;;; miscellaneous interfaces