From b936cbf73503ae8c6d5ec8eb63d16cc17727d1e6 Mon Sep 17 00:00:00 2001 From: dtc <dtc> Date: Sun, 25 Jan 1998 15:11:21 +0000 Subject: [PATCH] Include the complex-float array types within the unboxed-array and simple-unboxed-array types. Fixes the dumping of constant complex float arrays. --- compiler/generic/vm-type.lisp | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/compiler/generic/vm-type.lisp b/compiler/generic/vm-type.lisp index 40b1c9a09..367cd379f 100644 --- a/compiler/generic/vm-type.lisp +++ b/compiler/generic/vm-type.lisp @@ -5,7 +5,7 @@ ;;; Carnegie Mellon University, and has been placed in the public domain. ;;; (ext:file-comment - "$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/compiler/generic/vm-type.lisp,v 1.34 1997/11/01 22:58:39 dtc Exp $") + "$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/compiler/generic/vm-type.lisp,v 1.35 1998/01/25 15:11:21 dtc Exp $") ;;; ;;; ********************************************************************** ;;; @@ -97,14 +97,16 @@ (deftype unboxed-array (&optional dims) (collect ((types (list 'or))) (dolist (type specialized-array-element-types) - (when (subtypep type '(or integer character float)) + (when (subtypep type '(or integer character float + #+complex-float (complex float))) (types `(array ,type ,dims)))) (types))) (deftype simple-unboxed-array (&optional dims) (collect ((types (list 'or))) (dolist (type specialized-array-element-types) - (when (subtypep type '(or integer character float)) + (when (subtypep type '(or integer character float + #+complex-float (complex float))) (types `(simple-array ,type ,dims)))) (types))) -- GitLab