]> git.eshelyaron.com Git - emacs.git/commit
Generalise a LAP optimisation rule
authorMattias Engdegård <mattiase@acm.org>
Sat, 25 Mar 2023 14:38:00 +0000 (15:38 +0100)
committerMattias Engdegård <mattiase@acm.org>
Sat, 25 Mar 2023 15:21:09 +0000 (16:21 +0100)
commit52b67740d10df8ca539fdc2c7d50283997683141
treea7e546ca6ed673ecf5ff46928614185860de0c99
parentdb7e95531ac36ae842787b6c5f2859d0642c78cc
Generalise a LAP optimisation rule

* lisp/emacs-lisp/byte-opt.el (byte-optimize-lapcode):
Accept (stack-set 1) as equivalent to (discardN-preserve-tos 1) in a
rule previously overlooked.  This is usually beneficial in code size
and almost always shortens dynamic paths.
lisp/emacs-lisp/byte-opt.el