summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/byte-opt.el
diff options
context:
space:
mode:
authorDave Love <fx@gnu.org>2000-10-02 17:44:51 +0000
committerDave Love <fx@gnu.org>2000-10-02 17:44:51 +0000
commit944425c0c3bbee783b07c4fb5dc69a92c2c5355e (patch)
treee735a91fa12c5f24bef95ed6d8e8b8a4aa76e2eb /lisp/emacs-lisp/byte-opt.el
parent2a099bccabf12cab0697a3e0cf8aacba4ef9e9cd (diff)
downloademacs-944425c0c3bbee783b07c4fb5dc69a92c2c5355e.tar.gz
(byte-optimize-lapcode): Don't bind
unused vars. Treat byte-constant2 like byte-constant. Fix bogus comparison of opcode with operand.
Diffstat (limited to 'lisp/emacs-lisp/byte-opt.el')
-rw-r--r--lisp/emacs-lisp/byte-opt.el6
1 files changed, 3 insertions, 3 deletions
diff --git a/lisp/emacs-lisp/byte-opt.el b/lisp/emacs-lisp/byte-opt.el
index e1cc0db3f36..c3c8e677239 100644
--- a/lisp/emacs-lisp/byte-opt.el
+++ b/lisp/emacs-lisp/byte-opt.el
@@ -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