Fix genesis bug that manifested in scav_vector().
[sbcl.git] / contrib / code-extras.lisp
blobc81b365334d171de2621f09e18ebd059a2039a85
1 ;;;; (See the comments at the head of the file compiler-extras.lisp.)
3 (in-package "SB-IMPL")
5 (declaim (optimize (speed 3) (space 1)))
7 ;;; FIXME: should DEFUN REPLACE in terms of same expansion as
8 ;;; DEFTRANSFORM
9 #+nil
10 (defun replace (..)
11 (cond ((and (typep seq1 'simple-vector)
12 (typep seq2 'simple-vector))
13 (%replace-vector-vector ..))
14 ((and (typep seq1 'simple-string)
15 (typep seq2 'simple-string))
16 (%replace-vector-vector ..))
18 ..)))