mirror of
https://gitlab.com/embeddable-common-lisp/ecl.git
synced 2026-01-14 05:12:38 -08:00
Do not upgrade an array element type to a signed type
This commit is contained in:
parent
5250fd9bd8
commit
57f8264468
1 changed files with 1 additions and 1 deletions
|
|
@ -266,7 +266,7 @@ has no fill-pointer, and is not adjustable."
|
|||
(put-sysprop (car l) 'TYPE-PREDICATE (cdr l)))
|
||||
|
||||
(defconstant +upgraded-array-element-types+
|
||||
'(NIL BASE-CHAR #+unicode CHARACTER BIT EXT::BYTE8 EXT::INTEGER8 EXT::CL-FIXNUM EXT::CL-INDEX SINGLE-FLOAT DOUBLE-FLOAT T))
|
||||
'(NIL BASE-CHAR #+unicode CHARACTER BIT EXT::BYTE8 EXT::INTEGER8 EXT::CL-INDEX EXT::CL-FIXNUM SINGLE-FLOAT DOUBLE-FLOAT T))
|
||||
|
||||
(defun upgraded-array-element-type (element-type &optional env)
|
||||
(let* ((hash (logand 127 (si:hash-eql element-type)))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue