Commit 0d6f2034 authored by Raymond Toy's avatar Raymond Toy
Browse files

Don't set dimension of array to 1 for the rest slots of a primitive

object.
parent 7095ad43
Loading
Loading
Loading
Loading
+1 −1
Changes for src/compiler/generic/new-genesis.lisp: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -2570,7 +2570,7 @@
      (when (vm:primitive-object-header obj)
	(format t "    lispobj header;~%"))
      (dolist (slot (vm:primitive-object-slots obj))
	(format t "    ~A ~A~@[[1]~];~%"
	(format t "    ~A ~A~@[[]~];~%"
		(getf (vm:slot-options slot) :c-type "lispobj")
		(nsubstitute #\_ #\-
			     (string-downcase (string (vm:slot-name slot))))