0.7.10.32:
authorAlexey Dejneka <adejneka@comail.ru>
Fri, 27 Dec 2002 11:05:20 +0000 (11:05 +0000)
committerAlexey Dejneka <adejneka@comail.ru>
Fri, 27 Dec 2002 11:05:20 +0000 (11:05 +0000)
        Fix bug in CONSTANT-REFERENCE-P: function name may be
(SETF symbol).

OPTIMIZATIONS
src/compiler/ir1opt.lisp
version.lisp-expr

index bb50f42..ba0f5e8 100644 (file)
@@ -11,7 +11,7 @@
 * On X86 I is represented as a tagged integer.
 
 * EQL uses "CMP reg,reg" instead of "CMP reg,im". This causes
-  allocation of extra register and extra move.
+  allocation of an extra register and an extra move.
 
 * Unnecessary move:
   3: SLOT S!11[EDX] {SB-C::VECTOR-LENGTH 1 7} => t23[EAX]
@@ -63,3 +63,4 @@ VOP DATA-VECTOR-SET/SIMPLE-STRING V2!14[EDI] t32[EAX] t30[S2]>t33[CL]
   last two moves.
 
 * And why two moves?
+--------------------------------------------------------------------------------
index d95c91e..199f560 100644 (file)
       #!+(and (not sb-fluid) (not sb-xc-host))
       (global-var
        (case (global-var-kind leaf)
-        (:global-function (eq (symbol-package (leaf-source-name leaf))
-                               *cl-package*)))))))
+        (:global-function (let ((name (leaf-source-name leaf)))
+                             (when (consp name)
+                               (aver (eq (first name) 'setf))
+                               (setq name (second name)))
+                             (eq (symbol-package name)
+                                 *cl-package*))))))))
 
 ;;; If we have a non-set LET var with a single use, then (if possible)
 ;;; replace the variable reference's CONT with the arg continuation.
index e0ee169..695ceb1 100644 (file)
@@ -18,4 +18,4 @@
 ;;; versions, especially for internal versions off the main CVS
 ;;; branch, it gets hairier, e.g. "0.pre7.14.flaky4.13".)
 
-"0.7.10.32"
+"0.7.10.33"