X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Fpcl%2Fvector.lisp;h=606acba3abf17ab2ae1117fafc9fc62fd1117a75;hb=d25e3478acccec70402ff32554669a982be8e281;hp=df531b117f260afd76904e1b039eb8d8704c93ae;hpb=4ff2057326cb82db04380aae96493bd5fcb3c203;p=sbcl.git diff --git a/src/pcl/vector.lisp b/src/pcl/vector.lisp index df531b1..606acba 100644 --- a/src/pcl/vector.lisp +++ b/src/pcl/vector.lisp @@ -57,7 +57,7 @@ ;;; ...and one lock to rule them. Spinlock because for certain (rare) ;;; cases this lock might be grabbed in the course of method dispatch -;;; -- and mostly this is already under the *big-compiler-lock*. +;;; -- and mostly this is already under the *world-lock* (defvar *pv-lock* (sb-thread::make-spinlock :name "pv table index lock")) @@ -146,7 +146,7 @@ (slot-boundp 'boundp))) (var (extract-the var-form)) (slot-name (constant-form-value slot-name-form env))) - (when (symbolp var) + (when (and (symbolp var) (not (var-special-p var env))) (let* ((rebound? (caddr (var-declaration '%variable-rebinding var env))) (parameter-or-nil (car (memq (or rebound? var) required-parameters))))