X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Fpcl%2Fdlisp.lisp;h=a8400de9216ddde6f2a4daaa6fa154fc44400dd9;hb=dec94b039e8ec90baf21463df839a6181de606f6;hp=0f4d06b357379c96253120e8c0189e77392d36bb;hpb=475c832b081651e66ad9446d4852c62086f5e740;p=sbcl.git diff --git a/src/pcl/dlisp.lisp b/src/pcl/dlisp.lisp index 0f4d06b..a8400de 100644 --- a/src/pcl/dlisp.lisp +++ b/src/pcl/dlisp.lisp @@ -23,11 +23,11 @@ (in-package "SB-PCL") -;;; This file is (almost) functionally equivalent to dlap.lisp, but easier to -;;; read. +;;; This file is (almost) functionally equivalent to dlap.lisp, but +;;; easier to read. -;;; Might generate faster code, too, depending on the compiler and whether an -;;; implementation-specific lap assembler was used. +;;; Might generate faster code, too, depending on the compiler and +;;; whether an implementation-specific lap assembler was used. (defun emit-one-class-reader (class-slot-p) (emit-reader/writer :reader 1 class-slot-p)) @@ -163,12 +163,12 @@ (defun emit-slot-read-form (class-slot-p index slots) (if class-slot-p `(cdr ,index) - `(instance-ref ,slots ,index))) + `(clos-slots-ref ,slots ,index))) (defun emit-slot-write-form (class-slot-p index slots value) (if class-slot-p `(setf (cdr ,index) ,value) - `(and ,slots (setf (instance-ref ,slots ,index) ,value)))) + `(and ,slots (setf (clos-slots-ref ,slots ,index) ,value)))) (defun emit-boundp-check (value-form miss-fn arglist) `(let ((value ,value-form)) @@ -254,7 +254,7 @@ (defun emit-dlap (args metatypes hit miss value-reg &optional slot-regs) (let* ((index -1) (wrapper-bindings (mapcan #'(lambda (arg mt) - (unless (eq mt 't) + (unless (eq mt t) (incf index) `((,(intern (format nil "WRAPPER-~D"