aboutsummaryrefslogtreecommitdiffstats
path: root/src/eval.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/eval.c')
-rw-r--r--src/eval.c9
1 files changed, 1 insertions, 8 deletions
diff --git a/src/eval.c b/src/eval.c
index 8f293c9d300..e5900382dee 100644
--- a/src/eval.c
+++ b/src/eval.c
@@ -213,13 +213,6 @@ backtrace_next (union specbinding *pdl)
213 return pdl; 213 return pdl;
214} 214}
215 215
216/* Return a pointer to somewhere near the top of the C stack. */
217void *
218near_C_stack_top (void)
219{
220 return backtrace_args (backtrace_top ());
221}
222
223void 216void
224init_eval_once (void) 217init_eval_once (void)
225{ 218{
@@ -2090,7 +2083,7 @@ record_in_backtrace (Lisp_Object function, Lisp_Object *args, ptrdiff_t nargs)
2090 specpdl_ptr->bt.kind = SPECPDL_BACKTRACE; 2083 specpdl_ptr->bt.kind = SPECPDL_BACKTRACE;
2091 specpdl_ptr->bt.debug_on_exit = false; 2084 specpdl_ptr->bt.debug_on_exit = false;
2092 specpdl_ptr->bt.function = function; 2085 specpdl_ptr->bt.function = function;
2093 specpdl_ptr->bt.args = args; 2086 current_thread->stack_top = specpdl_ptr->bt.args = args;
2094 specpdl_ptr->bt.nargs = nargs; 2087 specpdl_ptr->bt.nargs = nargs;
2095 grow_specpdl (); 2088 grow_specpdl ();
2096 2089