projects
/
sbcl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
0.pre7.55:
[sbcl.git]
/
src
/
code
/
target-type.lisp
diff --git
a/src/code/target-type.lisp
b/src/code/target-type.lisp
index
1bd5d47
..
fcbc479
100644
(file)
--- a/
src/code/target-type.lisp
+++ b/
src/code/target-type.lisp
@@
-63,7
+63,7
@@
#'ctypep
obj
(compound-type-types type)))
#'ctypep
obj
(compound-type-types type)))
- (function-type
+ (fun-type
(values (functionp obj) t))
(unknown-type
(values nil nil))
(values (functionp obj) t))
(unknown-type
(values nil nil))
@@
-127,8
+127,8
@@
(layout-class (layout-of object)))
;;; Pull the type specifier out of a function object.
(layout-class (layout-of object)))
;;; Pull the type specifier out of a function object.
-(defun extract-function-type (fun)
- (specifier-type (%function-type (%closure-function fun))))
+(defun extract-fun-type (fun)
+ (specifier-type (%simple-fun-type (%closure-fun fun))))
\f
;;;; miscellaneous interfaces
\f
;;;; miscellaneous interfaces
@@
-160,7
+160,7
@@
(function
(if (funcallable-instance-p x)
(sb!xc:class-of x)
(function
(if (funcallable-instance-p x)
(sb!xc:class-of x)
- (extract-function-type x)))
+ (extract-fun-type x)))
(symbol
(make-member-type :members (list x)))
(number
(symbol
(make-member-type :members (list x)))
(number