]> git.eshelyaron.com Git - emacs.git/commit
bytecomp: Don't inline functions that use byte-switch (Bug#26518)
authorVibhav Pant <vibhavp@gmail.com>
Thu, 20 Apr 2017 15:29:15 +0000 (20:59 +0530)
committerVibhav Pant <vibhavp@gmail.com>
Thu, 20 Apr 2017 15:53:08 +0000 (21:23 +0530)
commitb389379c87481b6bc647ceb4d323f861281cad72
treeb944aefcc0452bb4dddb396a0f3af6ec46e0a72b
parent4364a769b489c044c4e9eeac6cfbabcc844ab332
bytecomp: Don't inline functions that use byte-switch (Bug#26518)

* lisp/emacs-lisp/bytecomp.el (byte-compile-unfold-bcf): Don't inline
  FORM if the bytecode uses the byte-switch instruction. It is
  impossible to guess the correct stack depth while inlining such
  bytecode, resulting in faulty code.
lisp/emacs-lisp/bytecomp.el