]> git.eshelyaron.com Git - emacs.git/commit
Elide lexical variables in for-effect context in source optimiser
authorMattias Engdegård <mattiase@acm.org>
Wed, 28 Jul 2021 15:31:44 +0000 (17:31 +0200)
committerMattias Engdegård <mattiase@acm.org>
Fri, 30 Jul 2021 07:54:29 +0000 (09:54 +0200)
commit9a6333811441a32e49bfd33c14f77680402cd639
tree20197f9b08c865f209d85061e11d6db09700e5f3
parent566e29f78ccee4fcf0421576c0306860c8afae0f
Elide lexical variables in for-effect context in source optimiser

* lisp/emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
Remove for-effect uses of lexical variables.  We previously relied on
this being done by the lapcode peephole optimiser but at source level
it enables more optimisation opportunities.
Keywords are elided for the same reason.
lisp/emacs-lisp/byte-opt.el