mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-05-02 04:40:29 +02:00
expand_stack intrinsic takes thread
* libguile/intrinsics.h (scm_t_thread_sp_intrinsic): Change to take thread instead of vp. (SCM_FOR_ALL_VM_INTRINSICS): Change expand_stack to expect thread, not vp. * libguile/vm-engine.c (ALLOC_FRAME): Call expand_stack with thread. * libguile/vm.c (thread_expand_stack, scm_bootstrap_vm): Adapt.
This commit is contained in:
parent
150f3474df
commit
6ceb33e767
3 changed files with 10 additions and 4 deletions
|
@ -182,7 +182,7 @@
|
|||
{ \
|
||||
struct scm_vm_intrinsics *i = (void*)intrinsics; \
|
||||
SYNC_IP (); \
|
||||
i->expand_stack (VP, sp); \
|
||||
i->expand_stack (thread, sp); \
|
||||
CACHE_SP (); \
|
||||
} \
|
||||
else \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue