From d2561c6826f9e590d9174007f9642237d79a46df Mon Sep 17 00:00:00 2001 From: Nathan Froyd Date: Wed, 1 Jun 2005 14:06:49 +0000 Subject: [PATCH] 0.9.1.17: Disable bit-bashing transforms on (VECTOR NIL). --- src/compiler/seqtran.lisp | 4 ++++ version.lisp-expr | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/src/compiler/seqtran.lisp b/src/compiler/seqtran.lisp index eb0547c..ed8cae7 100644 --- a/src/compiler/seqtran.lisp +++ b/src/compiler/seqtran.lisp @@ -683,6 +683,10 @@ (defun valid-bit-bash-saetp-p (saetp) ;; BIT-BASHing isn't allowed on simple vectors that contain pointers (and (not (eq t (sb!vm:saetp-specifier saetp))) + ;; Disallowing (VECTOR NIL) also means that we won't transform + ;; sequence functions into bit-bashing code and we let the + ;; generic sequence functions signal errors if necessary. + (not (zerop (sb!vm:saetp-n-bits saetp))) ;; Due to limitations with the current BIT-BASHing code, we can't ;; BIT-BASH reliably on arrays whose element types are larger ;; than the word size. diff --git a/version.lisp-expr b/version.lisp-expr index 60cf6f4..e14c141 100644 --- a/version.lisp-expr +++ b/version.lisp-expr @@ -17,4 +17,4 @@ ;;; checkins which aren't released. (And occasionally for internal ;;; versions, especially for internal versions off the main CVS ;;; branch, it gets hairier, e.g. "0.pre7.14.flaky4.13".) -"0.9.1.16" +"0.9.1.17" -- 1.7.10.4