;;;; specification.
(in-package "SB-PCL")
-
-(sb-int:file-comment
- "$Header$")
\f
#|
(let* ((.slots. (get-slots-or-nil
,(car required-args+rest-arg)))
(value (when .slots. (%instance-ref .slots. ,emf))))
- (if (eq value ',*slot-unbound*)
+ (if (eq value +slot-unbound+)
(slot-unbound-internal ,(car required-args+rest-arg)
,emf)
value)))))
(and .slots.
(not (eq (%instance-ref
.slots. (fast-instance-boundp-index ,emf))
- ',*slot-unbound*)))))))
+ +slot-unbound+)))))))
||#
(t
(etypecase ,emf
(cond ((null args) (error "1 or 2 args were expected."))
((null (cdr args))
(let ((value (%instance-ref (get-slots (car args)) emf)))
- (if (eq value *slot-unbound*)
+ (if (eq value +slot-unbound+)
(slot-unbound-internal (car args) emf)
value)))
((null (cddr args))
(error "1 arg was expected.")
(not (eq (%instance-ref (get-slots (car args))
(fast-instance-boundp-index emf))
- *slot-unbound*))))
+ +slot-unbound+))))
(function
(apply emf args))))
(cadar var))
(values (make-keyword (car var))
(car var)))
- `((,key (get-key-arg1 ,keyword ,args-tail))
+ ;; MNA: non-self-eval-keyword patch
+ `((,key (get-key-arg1 ',keyword ,args-tail))
(,variable (if (consp ,key)
(car ,key)
,(cadr var))))))
(cadar var))
(values (make-keyword (car var))
(car var)))
- `((,key (get-key-arg1 ,keyword ,args-tail))
+ ;; MNA: non-self-eval-keyword patch
+ `((,key (get-key-arg1 ',keyword ,args-tail))
(,(caddr var) ,key)
(,variable (if (consp ,key)
(car ,key)
(defvar *sgf-slots-init*
(mapcar #'(lambda (canonical-slot)
(if (memq (getf canonical-slot :name) '(arg-info source))
- *slot-unbound*
+ +slot-unbound+
(let ((initfunction (getf canonical-slot :initfunction)))
(if initfunction
(funcall initfunction)
- *slot-unbound*))))
+ +slot-unbound+))))
(early-collect-inheritance 'standard-generic-function)))
(defvar *sgf-method-class-index*
(defun early-gf-p (x)
(and (fsc-instance-p x)
(eq (instance-ref (get-slots x) *sgf-method-class-index*)
- *slot-unbound*)))
+ +slot-unbound+)))
(defvar *sgf-methods-index*
(bootstrap-slot-index 'standard-generic-function 'methods))