diff options
| author | Zach Shaftel | 2020-06-19 14:53:20 -0400 |
|---|---|---|
| committer | rocky | 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 emacs-feature/zach-soc-bytecode-in-traceback.zip | |
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; | |||
| 4113 | extern Lisp_Object Vrun_hooks; | 4113 | extern Lisp_Object Vrun_hooks; |
| 4114 | extern Lisp_Object Vsignaling_function; | 4114 | extern Lisp_Object Vsignaling_function; |
| 4115 | extern Lisp_Object inhibit_lisp_code; | 4115 | extern Lisp_Object inhibit_lisp_code; |
| 4116 | extern int backtrace_byte_offset; | ||
| 4117 | 4116 | ||
| 4118 | /* To run a normal hook, use the appropriate function from the list below. | 4117 | /* To run a normal hook, use the appropriate function from the list below. |
| 4119 | The calling convention: | 4118 | The calling convention: |