Changeset 5531


Ignore:
Timestamp:
Nov 9, 2006, 4:37:41 AM (18 years ago)
Author:
Gary Byers
Message:

Map array-type keywords to 3d-array type errors.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ccl/compiler/nx0.lisp

    r5502 r5531  
    576576    (:single-float-vector arch::error-object-not-simple-array-double-float-2d)
    577577    (:fixnum-vector arch::error-object-not-simple-array-fixnum-2d)))
     578
     579(defun nx-error-for-simple-3d-array-type (type-keyword)
     580  (ecase type-keyword
     581    (:simple-vector arch::error-object-not-simple-array-t-3d)
     582    (:simple-string arch::error-object-not-simple-array-char-3d)
     583    (:bit-vector arch::error-object-not-simple-array-bit-3d)
     584    (:unsigned-8-bit-vector arch::error-object-not-simple-array-u8-3d)
     585    (:signed-8-bit-vector arch::error-object-not-simple-array-s8-3d)
     586    (:unsigned-16-bit-vector arch::error-object-not-simple-array-u16-3d)
     587    (:signed-16-bit-vector arch::error-object-not-simple-array-s16-3d)
     588    (:unsigned-32-bit-vector arch::error-object-not-simple-array-u32-3d)
     589    (:signed-32-bit-vector arch::error-object-not-simple-array-s32-3d)
     590    (:unsigned-64-bit-vector arch::error-object-not-simple-array-u64-3d)
     591    (:signed-64-bit-vector arch::error-object-not-simple-array-s64-3d)
     592    (:double-float-vector arch::error-object-not-simple-array-double-float-3d)
     593    (:single-float-vector arch::error-object-not-simple-array-double-float-3d)
     594    (:fixnum-vector arch::error-object-not-simple-array-fixnum-3d)))
    578595
    579596(defun acode-s16-constant-p (x)
Note: See TracChangeset for help on using the changeset viewer.