[armedbear-cvs] r14161 - trunk/abcl/src/org/armedbear/lisp

ehuelsmann at common-lisp.net ehuelsmann at common-lisp.net
Wed Oct 3 20:55:08 UTC 2012


Author: ehuelsmann
Date: Wed Oct  3 13:55:07 2012
New Revision: 14161

Log:
Fix CLICKR system load regressions
  caused by stricter DEFSTRUCT redefinition checks.

Modified:
   trunk/abcl/src/org/armedbear/lisp/defstruct.lisp

Modified: trunk/abcl/src/org/armedbear/lisp/defstruct.lisp
==============================================================================
--- trunk/abcl/src/org/armedbear/lisp/defstruct.lisp	Sun Sep 30 23:28:11 2012	(r14160)
+++ trunk/abcl/src/org/armedbear/lisp/defstruct.lisp	Wed Oct  3 13:55:07 2012	(r14161)
@@ -545,10 +545,12 @@
                ;; names are equal, because it produces the same end result
                ;; when they are.
                (string= (aref old 1) (aref description 1))
-               (dotimes (index 13 t)
-                 (when (not (equalp (aref old (+ 2 index))
-                                    (aref description (+ 2 index))))
-                   (return nil))))
+               (equalp (aref old 5) (aref description 5))
+               (equalp (aref old 6) (aref description 6))
+               (equalp (aref old 7) (aref description 7))
+               (equalp (aref old 8) (aref description 8))
+               (equalp (aref old 12) (aref description 12))
+               (equalp (aref old 13) (aref description 13)))
         (error 'program-error
                :format-control "Structure redefinition not supported ~
                               in DEFSTRUCT for ~A"




More information about the armedbear-cvs mailing list