aboutsummaryrefslogtreecommitdiffstats
path: root/src/thread.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/thread.c')
-rw-r--r--src/thread.c12
1 files changed, 2 insertions, 10 deletions
diff --git a/src/thread.c b/src/thread.c
index 7de260ee3c0..1d282c3557a 100644
--- a/src/thread.c
+++ b/src/thread.c
@@ -1,5 +1,5 @@
1/* Threading code. 1/* Threading code.
2 Copyright (C) 2012 Free Software Foundation, Inc. 2 Copyright (C) 2012, 2013 Free Software Foundation, Inc.
3 3
4This file is part of GNU Emacs. 4This file is part of GNU Emacs.
5 5
@@ -507,16 +507,10 @@ thread_select (select_func *func, int max_fds, SELECT_TYPE *rfds,
507static void 507static void
508mark_one_thread (struct thread_state *thread) 508mark_one_thread (struct thread_state *thread)
509{ 509{
510 struct specbinding *bind;
511 struct handler *handler; 510 struct handler *handler;
512 Lisp_Object tem; 511 Lisp_Object tem;
513 512
514 for (bind = thread->m_specpdl; bind != thread->m_specpdl_ptr; bind++) 513 mark_specpdl (thread->m_specpdl, thread->m_specpdl_ptr);
515 {
516 mark_object (bind->symbol);
517 mark_object (bind->old_value);
518 mark_object (bind->saved_value);
519 }
520 514
521#if (GC_MARK_STACK == GC_MAKE_GCPROS_NOOPS \ 515#if (GC_MARK_STACK == GC_MAKE_GCPROS_NOOPS \
522 || GC_MARK_STACK == GC_MARK_STACK_CHECK_GCPROS) 516 || GC_MARK_STACK == GC_MARK_STACK_CHECK_GCPROS)
@@ -541,8 +535,6 @@ mark_one_thread (struct thread_state *thread)
541 mark_object (handler->handler); 535 mark_object (handler->handler);
542 mark_object (handler->var); 536 mark_object (handler->var);
543 } 537 }
544
545 mark_backtrace (thread->m_backtrace_list);
546#endif 538#endif
547 539
548 if (thread->m_current_buffer) 540 if (thread->m_current_buffer)