aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lisp/emacs-lisp/byte-opt.el25
1 files changed, 12 insertions, 13 deletions
diff --git a/lisp/emacs-lisp/byte-opt.el b/lisp/emacs-lisp/byte-opt.el
index 856a31551df..4ea9398f93d 100644
--- a/lisp/emacs-lisp/byte-opt.el
+++ b/lisp/emacs-lisp/byte-opt.el
@@ -231,16 +231,16 @@
231 (cons 'progn 231 (cons 'progn
232 (mapcar 232 (mapcar
233 (lambda (sexp) 233 (lambda (sexp)
234 (let ((fn (car-safe sexp))) 234 (let ((f (car-safe sexp)))
235 (if (and (symbolp fn) 235 (if (and (symbolp f)
236 (or (cdr (assq fn byte-compile-function-environment)) 236 (or (cdr (assq f byte-compile-function-environment))
237 (and (fboundp fn) 237 (not (or (not (fboundp f))
238 (not (or (cdr (assq fn byte-compile-macro-environment)) 238 (cdr (assq f byte-compile-macro-environment))
239 (and (consp (setq fn (symbol-function fn))) 239 (and (consp (setq f (symbol-function f)))
240 (eq (car fn) 'macro)) 240 (eq (car f) 'macro))
241 (subrp fn)))))) 241 (subrp f)))))
242 (byte-compile-inline-expand sexp) 242 (byte-compile-inline-expand sexp)
243 sexp))) 243 sexp)))
244 (cdr form)))) 244 (cdr form))))
245 245
246 246
@@ -1365,10 +1365,9 @@ of FORM by signalling the error at compile-time."
1365;; before each insn (or its label). 1365;; before each insn (or its label).
1366(defun byte-decompile-bytecode-1 (bytes constvec &optional make-spliceable) 1366(defun byte-decompile-bytecode-1 (bytes constvec &optional make-spliceable)
1367 (let ((length (length bytes)) 1367 (let ((length (length bytes))
1368 (ptr 0) optr tag tags op offset 1368 (ptr 0) optr tags op offset
1369 lap tmp 1369 lap tmp
1370 endtag 1370 endtag)
1371 (retcount 0))
1372 (while (not (= ptr length)) 1371 (while (not (= ptr length))
1373 (or make-spliceable 1372 (or make-spliceable
1374 (setq lap (cons ptr lap))) 1373 (setq lap (cons ptr lap)))