]> git.eshelyaron.com Git - emacs.git/commit
Only store offset when executing bytecode
authorZach Shaftel <zshaftel@gmail.com>
Wed, 22 Jul 2020 23:55:15 +0000 (19:55 -0400)
committerZach Shaftel <zshaftel@gmail.com>
Wed, 22 Jul 2020 23:55:15 +0000 (19:55 -0400)
commit54b94af19d371f55f8a5f60352a14791de0d3e97
tree8bedaeef7d9352a1198ddb2f3bf69987603c06ea
parentc0576f5accde4bc4407016b78f3a85e2453ee59d
Only store offset when executing bytecode

* src/eval.c (record_in_backtrace): Use 'backtrace_top' instead of
'backtrace_next', and check that 'backtrace_byte_offset' > 0 before
calling it, so the specbinding stack isn't scanned just to store an
invalid offset.
src/eval.c