mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-01-06 03:40:56 -08:00
(byte-optimize-lapcode): Don't bind
unused vars. Treat byte-constant2 like byte-constant. Fix bogus comparison of opcode with operand.
This commit is contained in:
parent
2a099bccab
commit
944425c0c3
2 changed files with 9 additions and 3 deletions
|
|
@ -1,3 +1,9 @@
|
|||
2000-10-02 Dave Love <fx@gnu.org>
|
||||
|
||||
* emacs-lisp/byte-opt.el (byte-optimize-lapcode): Don't bind
|
||||
unused vars. Treat byte-constant2 like byte-constant. Fix bogus
|
||||
comparison of opcode with operand.
|
||||
|
||||
2000-10-03 Miles Bader <miles@gnu.org>
|
||||
|
||||
* play/yow.el (yow): Don't display multi-line quotations in a *Help*
|
||||
|
|
|
|||
|
|
@ -1415,9 +1415,9 @@
|
|||
|
||||
(defun byte-optimize-lapcode (lap &optional for-effect)
|
||||
"Simple peephole optimizer. LAP is both modified and returned."
|
||||
(let (lap0 off0
|
||||
lap1 off1
|
||||
lap2 off2
|
||||
(let (lap0
|
||||
lap1
|
||||
lap2
|
||||
(keep-going 'first-time)
|
||||
(add-depth 0)
|
||||
rest tmp tmp2 tmp3
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue