0.9.2.9: thread objects
[sbcl.git] / src / compiler / generic / vm-array.lisp
index baa9972..d09673d 100644 (file)
@@ -23,7 +23,7 @@
              primitive-type-name
              &key (n-pad-elements 0) complex-typecode (importance 0)
              &aux (typecode
-                   (eval (symbolicate primitive-type-name "-WIDETAG")))))
+                   (symbol-value (symbolicate primitive-type-name "-WIDETAG")))))
            (:copier nil))
   ;; the element specifier, e.g. BASE-CHAR or (UNSIGNED-BYTE 4)
   (specifier (missing-arg) :type type-specifier :read-only t)
         (nil #:mu 0 simple-array-nil
              :complex-typecode #.sb!vm:complex-vector-nil-widetag
              :importance 0)
+         #!-sb-unicode
+        (character ,(code-char 0) 8 simple-base-string
+                   ;; (SIMPLE-BASE-STRINGs are stored with an extra
+                   ;; trailing #\NULL for convenience in calling out
+                   ;; to C.)
+                   :n-pad-elements 1
+                   :complex-typecode #.sb!vm:complex-base-string-widetag
+                   :importance 17)
+         #!+sb-unicode
         (base-char ,(code-char 0) 8 simple-base-string
                    ;; (SIMPLE-BASE-STRINGs are stored with an extra
                    ;; trailing #\NULL for convenience in calling out
                    :n-pad-elements 1
                    :complex-typecode #.sb!vm:complex-base-string-widetag
                    :importance 17)
+         #!+sb-unicode
+        (character ,(code-char 0) 32 simple-character-string
+                   :n-pad-elements 1
+                   :complex-typecode #.sb!vm:complex-character-string-widetag
+                   :importance 17)
         (single-float 0.0f0 32 simple-array-single-float
          :importance 6)
         (double-float 0.0d0 64 simple-array-double-float