mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-10 00:00:39 -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
|
|
@ -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