]> git.eshelyaron.com Git - emacs.git/commit
Strength-reduce (eq X nil) to (not X)
authorMattias Engdegård <mattiase@acm.org>
Tue, 20 Jul 2021 13:46:32 +0000 (15:46 +0200)
committerMattias Engdegård <mattiase@acm.org>
Tue, 20 Jul 2021 17:21:00 +0000 (19:21 +0200)
commit46d7d44894843bf30e9bc84473195c6ab892b752
treee47a989e772bcbadf2ce68fcd5e8ab97ff0c346b
parent51a86b6a0504d580d3e10efe41abf3ae42c90711
Strength-reduce (eq X nil) to (not X)

* lisp/emacs-lisp/byte-opt.el (byte-optimize-eq): New optimisation,
which results in better test and branch code generation where it
applies.
lisp/emacs-lisp/byte-opt.el