diff options
author | Zach Shaftel <zshaftel@gmail.com> | 2020-06-19 14:53:20 -0400 |
---|---|---|
committer | rocky <rocky@gnu.org> | 2020-06-26 20:05:16 -0400 |
commit | 0cb1df1edd86986d5d7a3ecf607fe78af03d62a0 (patch) | |
tree | 11a5664dfff6f9545481f30a8e5c46cfef1ff770 /src/lisp.h | |
parent | 58e112fe18abe48321a9a9b676d76fdb68ee833a (diff) | |
download | emacs-feature/zach-soc-bytecode-in-traceback.tar.gz |
Store the bytecode offset in thread_statefeature/zach-soc-bytecode-in-traceback
* src/lisp.h:
* src/eval.c (backtrace_byte_offset): Remove global variable, and
put it...
* src/thread.h (thread_state): ...in here as
m_backtrace_byte_offset, and define backtrace_byte_offset as a
macro that points to it.
* src/bytecode.c (UPDATE_OFFSET): Move out of #ifdef
BYTE_CODE_THREADED.
Diffstat (limited to 'src/lisp.h')
-rw-r--r-- | src/lisp.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/lisp.h b/src/lisp.h index ef6302a4670..f413d7a45ec 100644 --- a/src/lisp.h +++ b/src/lisp.h @@ -4113,7 +4113,6 @@ extern Lisp_Object Vautoload_queue; extern Lisp_Object Vrun_hooks; extern Lisp_Object Vsignaling_function; extern Lisp_Object inhibit_lisp_code; -extern int backtrace_byte_offset; /* To run a normal hook, use the appropriate function from the list below. The calling convention: |