X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Fpcl%2Flow.lisp;h=e9539ec4183ef0409967a5bf70ebd19feb455f7f;hb=d147d512602d761a2dcdfded506dd1a8f9a140dc;hp=50f71d9164952c7c1272db5850bc245333074829;hpb=d5aafdd8ab6387e12bac187048ed322bc96fb79a;p=sbcl.git diff --git a/src/pcl/low.lisp b/src/pcl/low.lisp index 50f71d9..e9539ec 100644 --- a/src/pcl/low.lisp +++ b/src/pcl/low.lisp @@ -96,8 +96,6 @@ `(wrapper-class* (std-instance-wrapper ,instance))) -;;; SET-FUNCTION-NAME -;;; ;;; When given a function should give this function the name . ;;; Note that is sometimes a list. Some lisps get the upset ;;; in the tummy when they start thinking about functions which have @@ -206,21 +204,21 @@ (defmacro built-in-or-structure-wrapper (x) `(sb-kernel:layout-of ,x)) (defmacro get-wrapper (inst) - (sb-int:once-only ((wrapper `(wrapper-of ,inst))) + (once-only ((wrapper `(wrapper-of ,inst))) `(progn - (assert (typep ,wrapper 'wrapper) () "What kind of instance is this?") + (aver (typep ,wrapper 'wrapper)) ,wrapper))) ;;; FIXME: could be an inline function (like many other things around ;;; here) (defmacro get-instance-wrapper-or-nil (inst) - (sb-int:once-only ((wrapper `(wrapper-of ,inst))) + (once-only ((wrapper `(wrapper-of ,inst))) `(if (typep ,wrapper 'wrapper) ,wrapper nil))) (defmacro get-slots-or-nil (inst) - (sb-int:once-only ((n-inst inst)) + (once-only ((n-inst inst)) `(when (pcl-instance-p ,n-inst) (if (std-instance-p ,n-inst) (std-instance-slots ,n-inst)