]> git.eshelyaron.com Git - emacs.git/commit
* emacs-lisp/byte-opt.el (byte-compile-trueconstp): Handle more
authorDan Nicolaescu <dann@ics.uci.edu>
Tue, 13 Nov 2007 16:10:14 +0000 (16:10 +0000)
committerDan Nicolaescu <dann@ics.uci.edu>
Tue, 13 Nov 2007 16:10:14 +0000 (16:10 +0000)
commitd8947b79fcc51b605fc25acc3ba5f0bd01188726
tree63451defd539831878d4fb0d92e7fdca8d588705
parent30a308aa4b0a2136d6a9ff0427047f07dbfe9815
* emacs-lisp/byte-opt.el (byte-compile-trueconstp): Handle more
constant forms.
(byte-compile-nilconstp): New function.
(byte-optimize-cond): Kill subsequent branches when a branch is
know to be taken or not taken.
(byte-optimize-if): Use byte-compile-nilconstp instead of hand
coding.
lisp/ChangeLog
lisp/emacs-lisp/byte-opt.el