diff options
author | Chong Yidong <cyd@stupidchicken.com> | 2008-11-21 18:51:19 +0000 |
---|---|---|
committer | Chong Yidong <cyd@stupidchicken.com> | 2008-11-21 18:51:19 +0000 |
commit | 86edb1119d684c2ee5c1a78253844d60e4af9c73 (patch) | |
tree | dfb3db496870bb1307fc163e72fdce0e56960cf7 /lisp/emacs-lisp/macroexp.el | |
parent | 0c123bd12e237c7cca813ef6d3574456ffeee133 (diff) | |
download | emacs-86edb1119d684c2ee5c1a78253844d60e4af9c73.tar.gz emacs-86edb1119d684c2ee5c1a78253844d60e4af9c73.tar.bz2 emacs-86edb1119d684c2ee5c1a78253844d60e4af9c73.zip |
* byte-opt.el (byte-compile-butlast): Move up in file.
(byte-optimize-plus): Don't call
byte-optimize-delay-constants-math (bug#1334). Use
byte-optimize-predicate to optimize constants.
(byte-optimize-minus): Don't call
byte-optimize-delay-constants-math. Remove zero arguments first
if possible. Call byte-optimize-predicate to optimize constants.
(byte-optimize-multiply): Remove optimizations for arguments of 0
and 2, which may be inaccurate. Optimize (* x -1) to (- x). Call
byte-optimize-predicate.
(byte-optimize-divide): Leave runtime errors unchanged.
Optimize (/ x 1) to (+ x 0). Remove optimizations for arguments of
0 and 2.0, which may be inaccurate. Call byte-optimize-predicate.
Diffstat (limited to 'lisp/emacs-lisp/macroexp.el')
0 files changed, 0 insertions, 0 deletions