projects
/
sbcl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
0.7.9.68:
[sbcl.git]
/
src
/
code
/
setf-funs.lisp
diff --git
a/src/code/setf-funs.lisp
b/src/code/setf-funs.lisp
index
9c9a3ff
..
3e18ea6
100644
(file)
--- a/
src/code/setf-funs.lisp
+++ b/
src/code/setf-funs.lisp
@@
-12,9
+12,6
@@
(in-package "SB!KERNEL")
(in-package "SB!KERNEL")
-(file-comment
- "$Header$")
-
(eval-when (:compile-toplevel :execute)
(defun compute-one-setter (name type)
(eval-when (:compile-toplevel :execute)
(defun compute-one-setter (name type)
@@
-24,10
+21,10
@@
(values-specifier-type (third type)))))
(arglist (make-gensym-list (1+ (length args)))))
(cond
(values-specifier-type (third type)))))
(arglist (make-gensym-list (1+ (length args)))))
(cond
- ((null (intersection args lambda-list-keywords))
+ ((null (intersection args sb!xc:lambda-list-keywords))
`(defun (setf ,name) ,arglist
`(defun (setf ,name) ,arglist
- (declare ,@(mapcar #'(lambda (arg type)
- `(type ,type ,arg))
+ (declare ,@(mapcar (lambda (arg type)
+ `(type ,type ,arg))
arglist
(cons res args)))
(setf (,name ,@(rest arglist)) ,(first arglist))))
arglist
(cons res args)))
(setf (,name ,@(rest arglist)) ,(first arglist))))
@@
-46,12
+43,12
@@
(info :setf :expander sym))
(not (member sym ignore)))
(let ((type (type-specifier (info :function :type sym))))
(info :setf :expander sym))
(not (member sym ignore)))
(let ((type (type-specifier (info :function :type sym))))
- (assert (consp type))
+ (aver (consp type))
#!-sb-fluid (res `(declaim (inline (setf ,sym))))
(res (compute-one-setter sym type))))))
`(progn ,@(res))))
#!-sb-fluid (res `(declaim (inline (setf ,sym))))
(res (compute-one-setter sym type))))))
`(progn ,@(res))))
-); eval-when (compile eval)
+) ; EVAL-WHEN
(define-setters ("COMMON-LISP")
;; Semantically silly...
(define-setters ("COMMON-LISP")
;; Semantically silly...