projects
/
sbcl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
0.9.7.25:
[sbcl.git]
/
src
/
pcl
/
compiler-support.lisp
diff --git
a/src/pcl/compiler-support.lisp
b/src/pcl/compiler-support.lisp
index
3fe2083
..
5cc7d3f
100644
(file)
--- a/
src/pcl/compiler-support.lisp
+++ b/
src/pcl/compiler-support.lisp
@@
-39,11
+39,11
@@
(deftransform sb-pcl::pcl-instance-p ((object))
(let* ((otype (lvar-type object))
(deftransform sb-pcl::pcl-instance-p ((object))
(let* ((otype (lvar-type object))
- (std-obj (specifier-type 'sb-pcl::std-object)))
+ (standard-object (specifier-type 'standard-object)))
(cond
;; Flush tests whose result is known at compile time.
(cond
;; Flush tests whose result is known at compile time.
- ((csubtypep otype std-obj) t)
- ((not (types-equal-or-intersect otype std-obj)) nil)
+ ((csubtypep otype standard-object) t)
+ ((not (types-equal-or-intersect otype standard-object)) nil)
(t
`(typep (layout-of object) 'sb-pcl::wrapper)))))
(t
`(typep (layout-of object) 'sb-pcl::wrapper)))))
@@
-69,13
+69,6
@@
(define-function-name-syntax ,name ,@body)
(pushnew ',name sb-pcl::*internal-pcl-generalized-fun-name-symbols*)))
(define-function-name-syntax ,name ,@body)
(pushnew ',name sb-pcl::*internal-pcl-generalized-fun-name-symbols*)))
-(define-internal-pcl-function-name-syntax sb-pcl::class-predicate (list)
- (when (cdr list)
- (destructuring-bind (name &rest rest) (cdr list)
- (when (and (symbolp name)
- (null rest))
- (values t name)))))
-
(define-internal-pcl-function-name-syntax sb-pcl::slot-accessor (list)
(when (= (length list) 4)
(destructuring-bind (class slot rwb) (cdr list)
(define-internal-pcl-function-name-syntax sb-pcl::slot-accessor (list)
(when (= (length list) 4)
(destructuring-bind (class slot rwb) (cdr list)