]> git.eshelyaron.com Git - emacs.git/commit
Optimise 'while' bodies for effect
authorMattias Engdegård <mattiase@acm.org>
Thu, 26 Dec 2019 16:50:19 +0000 (17:50 +0100)
committerMattias Engdegård <mattiase@acm.org>
Thu, 26 Dec 2019 18:41:21 +0000 (19:41 +0100)
commit1ba5b64dd1f0c0b22f3945ddc8b236fd565ebee8
tree26e726abedef12c46fa03a60811830a3c74d15f8
parentaf085ef40b961ca3466e8b2dfb7f722573e5a4cc
Optimise 'while' bodies for effect

* lisp/emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
Treat all expressions in the body of 'while' as for-effect,
since their values are discarded.  This also finds some errors.
lisp/emacs-lisp/byte-opt.el