projects
/
sbcl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
handle non-standard slot allocations when updating classes
[sbcl.git]
/
src
/
compiler
/
array-tran.lisp
diff --git
a/src/compiler/array-tran.lisp
b/src/compiler/array-tran.lisp
index
0610986
..
38defe4
100644
(file)
--- a/
src/compiler/array-tran.lisp
+++ b/
src/compiler/array-tran.lisp
@@
-98,6
+98,10
@@
(values element-type
(when (eq *wild-type* element-type)
(apply #'type-union element-supertypes)))))
(values element-type
(when (eq *wild-type* element-type)
(apply #'type-union element-supertypes)))))
+ (member-type
+ ;; Convert member-type to an union-type.
+ (array-type-upgraded-element-type
+ (apply #'type-union (mapcar #'ctype-of (member-type-members type)))))
(t
;; KLUDGE: there is no good answer here, but at least
;; *wild-type* won't cause HAIRY-DATA-VECTOR-{REF,SET} to be
(t
;; KLUDGE: there is no good answer here, but at least
;; *wild-type* won't cause HAIRY-DATA-VECTOR-{REF,SET} to be