summaryrefslogtreecommitdiff
path: root/src/lisp.h
diff options
context:
space:
mode:
authorZach Shaftel <zshaftel@gmail.com>2020-06-19 14:53:20 -0400
committerrocky <rocky@gnu.org>2020-06-26 20:05:16 -0400
commit0cb1df1edd86986d5d7a3ecf607fe78af03d62a0 (patch)
tree11a5664dfff6f9545481f30a8e5c46cfef1ff770 /src/lisp.h
parent58e112fe18abe48321a9a9b676d76fdb68ee833a (diff)
downloademacs-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.h1
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: