Mercurial > emacs
diff lisp/ChangeLog @ 86056:e0931ee6cc83
* 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.
author | Dan Nicolaescu <dann@ics.uci.edu> |
---|---|
date | Tue, 13 Nov 2007 16:10:14 +0000 |
parents | f064a093bf93 |
children | 41ba1388728b |
line wrap: on
line diff
--- a/lisp/ChangeLog Tue Nov 13 15:11:41 2007 +0000 +++ b/lisp/ChangeLog Tue Nov 13 16:10:14 2007 +0000 @@ -1,3 +1,13 @@ +2007-11-13 Stefan Monnier <monnier@iro.umontreal.ca> + + * 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. + 2007-11-13 Dan Nicolaescu <dann@ics.uci.edu> * vc.el (vc-register): Allow registering a file passed as a