]> git.eshelyaron.com Git - emacs.git/commit
Keep a stack reference to bytecode objects being executed (Bug#33014)
authorGemini Lasswell <gazally@runbox.com>
Sun, 14 Oct 2018 19:12:04 +0000 (12:12 -0700)
committerGemini Lasswell <gazally@runbox.com>
Mon, 29 Oct 2018 18:05:00 +0000 (11:05 -0700)
commit0e484c66fd63877230c3dfa97f2ce9dda71ad88b
treea7cf3670fdd67ce433329744c4e73f3b9214cd39
parentb9c60200259a562f4762e8debf4646319d7a9332
Keep a stack reference to bytecode objects being executed (Bug#33014)

* src/eval.c (Ffuncall): Make local variable 'fun' volatile.
* test/src/eval-tests.el
(eval-tests-byte-code-being-evaluated-is-protected-from-gc):
Add regression test for Bug#33014.
(eval-tests-33014-var): New variable.
(eval-tests-33014-func, eval-tests-33014-redefine): New functions.
src/eval.c
test/src/eval-tests.el