X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Fcompiler%2Farray-tran.lisp;h=bc2fc02d576c16edf7ecb6b1f366a625421ffbfc;hb=HEAD;hp=c44afb4dddd2f520118c42b37b12a7583a575057;hpb=a6c4b66e040824da2fc76e101f92940e8412c6d3;p=sbcl.git diff --git a/src/compiler/array-tran.lisp b/src/compiler/array-tran.lisp index c44afb4..bc2fc02 100644 --- a/src/compiler/array-tran.lisp +++ b/src/compiler/array-tran.lisp @@ -294,7 +294,7 @@ (let ((ctype (careful-specifier-type (lvar-value element-type)))) (cond - ((or (null ctype) (unknown-type-p ctype)) '*) + ((or (null ctype) (contains-unknown-type-p ctype)) '*) (t (sb!xc:upgraded-array-element-type (lvar-value element-type)))))) (t @@ -639,7 +639,7 @@ (element-type-ctype (and (constant-lvar-p element-type) (ir1-transform-specifier-type (lvar-value element-type))))) - (when (unknown-type-p element-type-ctype) + (when (contains-unknown-type-p element-type-ctype) (give-up-ir1-transform)) (unless (every #'integerp dims) (give-up-ir1-transform