diff options
Diffstat (limited to 'src/thread.h')
| -rw-r--r-- | src/thread.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/thread.h b/src/thread.h index a09929fa440..b5e3f0f9c51 100644 --- a/src/thread.h +++ b/src/thread.h | |||
| @@ -103,6 +103,11 @@ struct thread_state | |||
| 103 | union specbinding *m_specpdl_ptr; | 103 | union specbinding *m_specpdl_ptr; |
| 104 | #define specpdl_ptr (current_thread->m_specpdl_ptr) | 104 | #define specpdl_ptr (current_thread->m_specpdl_ptr) |
| 105 | 105 | ||
| 106 | /* The offset of the current op of the byte-code function being | ||
| 107 | executed. */ | ||
| 108 | int m_backtrace_byte_offset; | ||
| 109 | #define backtrace_byte_offset (current_thread->m_backtrace_byte_offset) | ||
| 110 | |||
| 106 | /* Depth in Lisp evaluations and function calls. */ | 111 | /* Depth in Lisp evaluations and function calls. */ |
| 107 | intmax_t m_lisp_eval_depth; | 112 | intmax_t m_lisp_eval_depth; |
| 108 | #define lisp_eval_depth (current_thread->m_lisp_eval_depth) | 113 | #define lisp_eval_depth (current_thread->m_lisp_eval_depth) |