Skip to content
  1. Dec 23, 2012
    • Raymond Toy's avatar
      Fix ticket:68 by adding {{{BYTE-BASH-COPY}}} · abc43728
      Raymond Toy authored
      code/bit-bash.lisp::
       Add {{{BYTE-BASH-COPY}}} for copying bytes
      
      code/exports.lisp::
       Add {{{BYTE-BASH-COPY}}}
      
      compiler/generic/vm-fndb.lisp::
       Add {{{BYTE-BASH-COPY}}}
      
      compiler/generic/vm-tran.lisp::
       Call {{{BYTE-BASH-COPY}}} in the deftransform for {{{REPLACE}}}.
      abc43728
  2. Dec 22, 2012
    • Raymond Toy's avatar
      Fix ticket:67 · 3be4fc21
      Raymond Toy authored
      Check that the start and end indices make sense for the given
      strings.  This is important before we start bashing random parts of
      the string, potentially overwriting other objects.
      3be4fc21
    • Raymond Toy's avatar
      Fix ticket:60. · cdf11377
      Raymond Toy authored
      This fixes the immediate issue, but there are still problems with
      very long strings.  The bit-index for such strings won't fit in an
      (unsigned-byte 32).
      
      vm-fndb.lisp:
      o Correct the defknown to have the correct arg types (vm::offset
        instead of index).
      
      vm-tran.lisp:
      o Update deftransform to use vm::offset instead of index.
      cdf11377
  3. Nov 04, 2011
  4. Sep 25, 2011
  5. Apr 20, 2010
  6. Mar 19, 2010
  7. Jun 12, 2009
  8. Jun 11, 2009
  9. Dec 24, 2006
  10. Jan 29, 2005
  11. Jan 25, 2005
    • rtoy's avatar
      Add type checks (THE) to the data-vector-ref and data-vector-set · fa1d20f2
      rtoy authored
      deftransforms.  This causes a warning to be produced for
      
         (defun foo (f d)
           (declare (type (simple-array single-float (*)) f)
                    (type (simple-array double-float (*)) d))
           (setf (aref f 0) (aref d 0)))
      
      (from Lynn Quam, cmucl-imp 2004-03-30).  Previously, no warning was
      produced and all code including the function return was deleted.  Now
      a warning is produced and the code is not deleted.
      
      This is a workaround.
      fa1d20f2
  12. Oct 04, 2004
  13. Sep 08, 2004
  14. Jun 10, 2004
  15. May 18, 2004
  16. May 17, 2004
  17. May 14, 2004
  18. Apr 13, 2004
  19. Apr 07, 2004
  20. Nov 03, 2003
    • gerd's avatar
      (defun lexical-symbol (symbol &optional prefix) · e3d1deb1
      gerd authored
      	  (let* ((string (symbol-name symbol))
      		 (length (length string)))
      	    (if (or (< length 3)
      		    (not (char= (elt string 0) #\*))
      		    (not (char= (elt string (1- length)) #\*)))
      		(error "Symbol does not follow dynamic conventions.")
      		(if prefix
      		    (intern (cs prefix (subseq string 1 (1- length))))
      		    (intern (subseq string 1 (1- length)))))))
      	 => spurious code deletion note that goes away when the local
      	    variable length is renamed to something else.
      
      	* src/compiler/generic/vm-tran.lisp (subseq, copy-seq) <deftransform>:
      	Use len as local variable name instead of cl:length.
      e3d1deb1
  21. Oct 15, 2002
    • toy's avatar
      Port over SBCL's fix for the Entomotomy bug · 7fbf5590
      toy authored
      array-element-type-treated-as-declaration
      
      wherein the compiler believes type declarations on array elements
      without checking them, e.g.
      
      	(DECLAIM (OPTIMIZE (SAFETY 3) (SPEED 1) (SPACE 1)))
      	(DEFSTRUCT FOO A B)
      	(DEFUN BAR (X)
      	  (DECLARE (TYPE (SIMPLE-ARRAY CONS 1) X))
      	  (WHEN (CONSP (AREF X 0))
      	    (PRINT (AREF X 0))))
      	(BAR (VECTOR (MAKE-FOO :A 11 :B 12)))
      
      prints a structure out.
      
      This patch makes the compiler use the specialized (upgraded) element
      type instead of the declared element type for aref.
      7fbf5590
  22. Aug 08, 2002
  23. May 02, 2002
  24. Jun 05, 2001
  25. Mar 04, 2001
  26. Oct 21, 2000
  27. Sep 14, 2000
  28. Jan 14, 2000
  29. Jan 13, 2000
  30. Sep 06, 1999
  31. Mar 21, 1998
  32. Jan 18, 1997
  33. Oct 31, 1994
  34. Oct 05, 1994
  35. Feb 11, 1994
  36. Aug 19, 1993
  37. May 25, 1993