]> git.eshelyaron.com Git - emacs.git/commit
Update function properties and optimisations
authorMattias Engdegård <mattiase@acm.org>
Sun, 21 Aug 2022 14:17:45 +0000 (16:17 +0200)
committerMattias Engdegård <mattiase@acm.org>
Sun, 21 Aug 2022 14:26:59 +0000 (16:26 +0200)
commit965fad0d36f7fe9392736c66c8ccd39b83ce6713
tree123c03bd183ef3e4aecd680c9e4a539bf1ebc9c5
parent563ec6abc4f194eb8d89cc2f5adefb7f68017149
Update function properties and optimisations

* lisp/emacs-lisp/byte-opt.el (byte-opt--bool-value-form):
Recognise boolean identity in aset, put, function-put and puthash.
* lisp/emacs-lisp/byte-opt.el (byte-compile-trueconstp):
Mark more functins as non-nil-returning, including the new
pos-bol and pos-eol.
* lisp/emacs-lisp/byte-opt.el (side-effect-free-fns):
Mark pos-bol and pos-eol as side-effect-free.
lisp/emacs-lisp/byte-opt.el