summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/bytecomp.el
diff options
context:
space:
mode:
authorVibhav Pant <vibhavp@gmail.com>2017-01-30 19:22:09 +0530
committerVibhav Pant <vibhavp@gmail.com>2017-01-30 19:22:09 +0530
commitf441451658ecb8d0d8ba386d9fd3eebf3b17d549 (patch)
tree24729e6310593ba75156881b0bc71c6df194f224 /lisp/emacs-lisp/bytecomp.el
parentbf7f7c0d82a56ed1b76358657e74ca2833b19fe2 (diff)
downloademacs-f441451658ecb8d0d8ba386d9fd3eebf3b17d549.tar.gz
* lisp/emacs-lisp/bytecomp.el: Create jump tables with :purecopy t
Diffstat (limited to 'lisp/emacs-lisp/bytecomp.el')
-rw-r--r--lisp/emacs-lisp/bytecomp.el1
1 files changed, 1 insertions, 0 deletions
diff --git a/lisp/emacs-lisp/bytecomp.el b/lisp/emacs-lisp/bytecomp.el
index eb297288c63..53622a47d7a 100644
--- a/lisp/emacs-lisp/bytecomp.el
+++ b/lisp/emacs-lisp/bytecomp.el
@@ -4028,6 +4028,7 @@ Return a list of the form ((TEST . VAR) ((VALUE BODY) ...))"
jump-table test-obj body tag donetag default-tag default-case)
(when (and cases (not (= (length cases) 1)))
(setq jump-table (make-hash-table :test test
+ :purecopy t
:size (if (assq 'default cases)
(1- (length cases))
(length cases)))