mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-06-18 01:30:27 +02:00
Inline struct scm_vm into struct scm_i_thread
* libguile/threads.h (scm_i_thread): Inline struct scm_vm into struct scm_i_thread, as these exist in a one-to-one relationship. * libguile/threads.c (guilify_self_1, thread_mark, on_thread_exit): * libguile/control.c (scm_suspendable_continuation_p): * libguile/vm.c (init_vm, thread_vm): Adapt users.
This commit is contained in:
parent
aad5bfed60
commit
2480761bde
4 changed files with 13 additions and 30 deletions
|
@ -223,7 +223,7 @@ scm_suspendable_continuation_p (SCM tag)
|
|||
|
||||
if (scm_dynstack_find_prompt (&thread->dynstack, tag, &flags,
|
||||
NULL, NULL, NULL, ®isters))
|
||||
return scm_from_bool (registers == thread->vp->resumable_prompt_cookie);
|
||||
return scm_from_bool (registers == thread->vm.resumable_prompt_cookie);
|
||||
|
||||
return SCM_BOOL_F;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue