X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;ds=sidebyside;f=src%2Fcompiler%2Fgeneric%2Finterr.lisp;h=e1120b7b006d00c728d27ae5da191ee57a46d8e2;hb=7f579b076a1fc54587538ead07e506e7f06f3fe8;hp=8fde95164332afa0e84364693c28f107c35b05aa;hpb=bf27595fb567015495b7131707cc85af361567fe;p=sbcl.git diff --git a/src/compiler/generic/interr.lisp b/src/compiler/generic/interr.lisp index 8fde951..e1120b7 100644 --- a/src/compiler/generic/interr.lisp +++ b/src/compiler/generic/interr.lisp @@ -24,14 +24,14 @@ ;;; functions as closures instead of DEFUNs? (eval-when (:compile-toplevel :execute) (def!macro define-internal-errors (&rest errors) - (let ((info (mapcar (lambda (x) - (cons (symbolicate (first x) "-ERROR") - (second x))) - errors))) - `(progn - (setf sb!c:*backend-internal-errors* - ',(coerce info 'vector)) - nil)))) + (let ((info (mapcar (lambda (x) + (cons (symbolicate (first x) "-ERROR") + (second x))) + errors))) + `(progn + (setf sb!c:*backend-internal-errors* + ',(coerce info 'vector)) + nil)))) (define-internal-errors (unknown @@ -55,6 +55,8 @@ "Object is not of type SIMPLE-STRING.") (object-not-fixnum "Object is not of type FIXNUM.") + (object-not-mod + "Object is not of type (MOD X).") (object-not-vector "Object is not of type VECTOR.") (object-not-string @@ -131,6 +133,9 @@ #!+long-float (object-not-complex-long-float "Object is not of type (COMPLEX LONG-FLOAT).") + #!+sb-simd-pack + (object-not-simd-pack + "Object is not of type SIMD-PACK.") (object-not-weak-pointer "Object is not a WEAK-POINTER.") (object-not-instance @@ -145,13 +150,16 @@ "Object layout is invalid. (indicates obsolete instance)") (object-not-complex-vector "Object is not a complex (non-SIMPLE-ARRAY) vector.") + (tls-exhausted + "Thread local storage exhausted.") . #.(map 'list - (lambda (saetp) - (list - (symbolicate "OBJECT-NOT-" (sb!vm:saetp-primitive-type-name saetp)) - (format nil "Object is not of type ~A." - (specifier-type - `(simple-array ,(sb!vm:saetp-specifier saetp) (*)))))) - sb!vm:*specialized-array-element-type-properties*)) + (lambda (saetp) + (list + (symbolicate "OBJECT-NOT-" (sb!vm:saetp-primitive-type-name saetp)) + (format nil "Object is not of type ~A." + (type-specifier + (specifier-type + `(simple-array ,(sb!vm:saetp-specifier saetp) (*))))))) + sb!vm:*specialized-array-element-type-properties*))