]> git.eshelyaron.com Git - emacs.git/commit
byte-opt: Replace merged tags in jump tables too. (bug#25716)
authorVibhav Pant <vibhavp@gmail.com>
Tue, 14 Feb 2017 16:17:59 +0000 (21:47 +0530)
committerVibhav Pant <vibhavp@gmail.com>
Tue, 14 Feb 2017 16:23:26 +0000 (21:53 +0530)
commit71b90192dab8de9825904faaabbaf9548d3db2ab
tree1e527cbf4c782f63a32d4712d1daabd0e693d2f1
parentc1eb871e92176092a46b74b68655c3c167ccece9
byte-opt: Replace merged tags in jump tables too. (bug#25716)

* lisp/emacs-lisp/byte-opt.el (byte-optimize-lapcode): While merging
  adjacent tags, make sure that the old tag is replaced in all jump
  tables, if any. This fixes the bytecode VM jumping to the wrong
  address in compiled cond forms where the body of a clause was a loop
  of any sort.
lisp/emacs-lisp/byte-opt.el