From a12b416bca705c555ba049b18598533d3ae41ef2 Mon Sep 17 00:00:00 2001 From: Vibhav Pant Date: Mon, 6 Feb 2017 13:26:25 +0530 Subject: ; byte(-opt, comp).el: Add more documentation for byte-switch code. --- lisp/emacs-lisp/byte-opt.el | 3 +++ 1 file changed, 3 insertions(+) (limited to 'lisp/emacs-lisp/byte-opt.el') diff --git a/lisp/emacs-lisp/byte-opt.el b/lisp/emacs-lisp/byte-opt.el index 146fbcc1cb6..888a5f85007 100644 --- a/lisp/emacs-lisp/byte-opt.el +++ b/lisp/emacs-lisp/byte-opt.el @@ -1773,6 +1773,9 @@ If FOR-EFFECT is non-nil, the return value is assumed to be of no importance." ;; ((and (memq (car lap0) '(byte-goto byte-return)) (not (memq (car lap1) '(TAG nil))) + ;; FIXME: Instead of deferring simply when jump-tables are + ;; being used, keep a list of tags used for switch tags and + ;; use them instead (see `byte-compile-inline-lapcode'). (not byte-compile-jump-tables)) (setq tmp rest) (let ((i 0) -- cgit v1.2.3