X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Fcompiler%2Ftypetran.lisp;h=67f5873cf6e6431d7a7d7ff6abb918329b03b84e;hb=4898febe4d3ab2eaa83c26cd4c1ff113772100c4;hp=0eba7aa8d2eaf2ca2116a934cd9a9304c8f35742;hpb=b2f0204834bd0c314d44942dd92475c15ffa8c89;p=sbcl.git diff --git a/src/compiler/typetran.lisp b/src/compiler/typetran.lisp index 0eba7aa..67f5873 100644 --- a/src/compiler/typetran.lisp +++ b/src/compiler/typetran.lisp @@ -552,7 +552,10 @@ ;; lvar, transforms it into a quoted form, and gives this ;; source transform another chance, so it all works out OK, in a ;; weird roundabout way. -- WHN 2001-03-18 - (if (and (consp spec) (eq (car spec) 'quote)) + (if (and (consp spec) + (eq (car spec) 'quote) + (or (not *allow-instrumenting*) + (policy *lexenv* (= store-coverage-data 0)))) (source-transform-typep object (cadr spec)) (values nil t)))