- (if (or (eq eltype *wild-type*)
- ;; This is slightly dubious, but not as dubious as
- ;; assuming that the upgraded-element-type should be
- ;; equal to T, given the way that the AREF
- ;; DERIVE-TYPE optimizer works. -- CSR, 2002-08-19
- (unknown-type-p eltype))
- *wild-type*
- (dolist (stype-name *specialized-array-element-types*
- *universal-type*)
- ;; FIXME: Mightn't it be better to have
- ;; *SPECIALIZED-ARRAY-ELEMENT-TYPES* be stored as precalculated
- ;; SPECIFIER-TYPE results, instead of having to calculate
- ;; them on the fly this way? (Call the new array
- ;; *SPECIALIZED-ARRAY-ELEMENT-SPECIFIER-TYPES* or something..)
- (let ((stype (specifier-type stype-name)))
- (aver (not (unknown-type-p stype)))
- (when (csubtypep eltype stype)
- (return stype))))))
+ (if (or (eq eltype *wild-type*)
+ ;; This is slightly dubious, but not as dubious as
+ ;; assuming that the upgraded-element-type should be
+ ;; equal to T, given the way that the AREF
+ ;; DERIVE-TYPE optimizer works. -- CSR, 2002-08-19
+ (unknown-type-p eltype))
+ *wild-type*
+ (dolist (stype-name *specialized-array-element-types*
+ *universal-type*)
+ ;; FIXME: Mightn't it be better to have
+ ;; *SPECIALIZED-ARRAY-ELEMENT-TYPES* be stored as precalculated
+ ;; SPECIFIER-TYPE results, instead of having to calculate
+ ;; them on the fly this way? (Call the new array
+ ;; *SPECIALIZED-ARRAY-ELEMENT-SPECIFIER-TYPES* or something..)
+ (let ((stype (specifier-type stype-name)))
+ (aver (not (unknown-type-p stype)))
+ (when (csubtypep eltype stype)
+ (return stype))))))