X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Fpcl%2Fcompiler-support.lisp;h=5cc7d3fdb0f7531df37b4e52b741e57dde4daab4;hb=f9b113feb08bb833fd3b46555b56f708826e4c93;hp=3fe2083f83249408d0a6414132211424df6491ad;hpb=935cb138f2973da3293564c57c47e2194ce27cf5;p=sbcl.git diff --git a/src/pcl/compiler-support.lisp b/src/pcl/compiler-support.lisp index 3fe2083..5cc7d3f 100644 --- 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)) - (std-obj (specifier-type 'sb-pcl::std-object))) + (standard-object (specifier-type 'standard-object))) (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))))) @@ -69,13 +69,6 @@ (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)