projects
/
sbcl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix make-array transforms.
[sbcl.git]
/
src
/
compiler
/
array-tran.lisp
diff --git
a/src/compiler/array-tran.lisp
b/src/compiler/array-tran.lisp
index
c44afb4
..
bc2fc02
100644
(file)
--- 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
(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
(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)))))
(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
(give-up-ir1-transform))
(unless (every #'integerp dims)
(give-up-ir1-transform