emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] emacs-24 r117596: Restore temporarily reverted bytecomp ch


From: Glenn Morris
Subject: [Emacs-diffs] emacs-24 r117596: Restore temporarily reverted bytecomp change
Date: Mon, 20 Oct 2014 19:23:54 +0000
User-agent: Bazaar (2.6b2)

------------------------------------------------------------
revno: 117596
revision-id: address@hidden
parent: address@hidden
fixes bug: http://debbugs.gnu.org/18767
author: Stefan Monnier <address@hidden>
committer: Glenn Morris <address@hidden>
branch nick: emacs-24
timestamp: Mon 2014-10-20 20:23:50 +0100
message:
  Restore temporarily reverted bytecomp change
  
  * lisp/emacs-lisp/bytecomp.el (=, <, >, <=, >=): Don't optimize multi-arg 
case.
modified:
  lisp/ChangeLog                 changelog-20091113204419-o5vbwnq5f7feedwu-1432
  lisp/emacs-lisp/bytecomp.el    bytecomp.el-20091113204419-o5vbwnq5f7feedwu-492
=== modified file 'lisp/ChangeLog'
--- a/lisp/ChangeLog    2014-10-20 19:21:15 +0000
+++ b/lisp/ChangeLog    2014-10-20 19:23:50 +0000
@@ -1,3 +1,8 @@
+2014-10-20  Stefan Monnier  <address@hidden>
+
+       * emacs-lisp/bytecomp.el (=, <, >, <=, >=): Don't optimize multi-arg
+       case (bug#18767).
+
 2014-10-20  Glenn Morris  <address@hidden>
 
        * Version 24.4 released.

=== modified file 'lisp/emacs-lisp/bytecomp.el'
--- a/lisp/emacs-lisp/bytecomp.el       2014-10-20 19:19:15 +0000
+++ b/lisp/emacs-lisp/bytecomp.el       2014-10-20 19:23:50 +0000
@@ -3261,11 +3261,11 @@
 (byte-defop-compiler cons              2)
 (byte-defop-compiler aref              2)
 (byte-defop-compiler set               2)
-(byte-defop-compiler (= byte-eqlsign)  2-and)
-(byte-defop-compiler (< byte-lss)      2-and)
-(byte-defop-compiler (> byte-gtr)      2-and)
-(byte-defop-compiler (<= byte-leq)     2-and)
-(byte-defop-compiler (>= byte-geq)     2-and)
+(byte-defop-compiler (= byte-eqlsign)  2) ;; -and  bug#18767
+(byte-defop-compiler (< byte-lss)      2) ;; -and  bug#18767
+(byte-defop-compiler (> byte-gtr)      2) ;; -and  bug#18767
+(byte-defop-compiler (<= byte-leq)     2) ;; -and  bug#18767
+(byte-defop-compiler (>= byte-geq)     2) ;; -and  bug#18767
 (byte-defop-compiler get               2)
 (byte-defop-compiler nth               2)
 (byte-defop-compiler substring         2-3)
@@ -3332,6 +3332,7 @@
 (defun byte-compile-and-folded (form)
   "Compile calls to functions like `<='.
 These implicitly `and' together a bunch of two-arg bytecodes."
+  ;; FIXME: bug#18767 means we can't do it this way!
   (let ((l (length form)))
     (cond
      ((< l 3) (byte-compile-form `(progn ,(nth 1 form) t)))


reply via email to

[Prev in Thread] Current Thread [Next in Thread]