X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Fcompiler%2Fgeneric%2Farray.lisp;h=744f89ef4241a65c0569342676d5375d3350d486;hb=70f323d9b06b95ed37a447742c1925906985c088;hp=29affadcc9c69ac6a5a9c669a5d367538226a2b3;hpb=9b634117911815fbf4154546431b4dcf13e38b47;p=sbcl.git diff --git a/src/compiler/generic/array.lisp b/src/compiler/generic/array.lisp index 29affad..744f89e 100644 --- a/src/compiler/generic/array.lisp +++ b/src/compiler/generic/array.lisp @@ -23,7 +23,10 @@ (:vop-var vop) (:save-p :compute-only) (:generator 1 - (error-call vop nil-array-accessed-error object))) + (error-call vop + #!+(or x86 x86-64 ppc) 'nil-array-accessed-error + #!-(or x86 x86-64 ppc) nil-array-accessed-error + object))) ;;; It shouldn't be possible to fall through to here in normal user ;;; code, as the system is smart enough to deduce that there must be @@ -48,7 +51,10 @@ (:vop-var vop) (:save-p :compute-only) (:generator 1 - (error-call vop nil-array-accessed-error object))) + (error-call vop + #!+(or x86 x86-64 ppc) 'nil-array-accessed-error + #!-(or x86 x86-64 ppc) nil-array-accessed-error + object))) (define-vop (data-vector-ref-with-offset/simple-array-nil) (:translate data-vector-ref-with-offset) @@ -64,7 +70,10 @@ (:vop-var vop) (:save-p :compute-only) (:generator 1 - (error-call vop nil-array-accessed-error object))) + (error-call vop + #!+(or x86 x86-64 ppc) 'nil-array-accessed-error + #!-(or x86 x86-64 ppc) nil-array-accessed-error + object))) (define-vop (data-vector-set/simple-array-nil) (:translate data-vector-set) @@ -81,7 +90,10 @@ (:vop-var vop) (:save-p :compute-only) (:generator 1 - (error-call vop nil-array-accessed-error object))) + (error-call vop + #!+(or x86 x86-64 ppc) 'nil-array-accessed-error + #!-(or x86 x86-64 ppc) nil-array-accessed-error + object))) ;;; FIXME: There is probably plenty of other array stuff that looks ;;; the same or similar enough to be genericized. Do so, and move it