diff options
author | Andy Wingo <wingo@pobox.com> | 2015-10-18 20:12:15 +0200 |
---|---|---|
committer | Andy Wingo <wingo@pobox.com> | 2015-10-21 11:49:20 +0200 |
commit | 30c06bfbb3db6e8c05f2ee6e7866d4ecf5838482 (patch) | |
tree | 1a0df35226e83758dee1a71966738eb917a22694 /libguile/vm.h | |
parent | aa9f6b00827bd0c1a2f11274191f49b0ad31926d (diff) | |
download | guile-30c06bfbb3db6e8c05f2ee6e7866d4ecf5838482.tar.gz |
Remove sp from scm_vm_cont
* libguile/vm.h (struct scm_vm_cont): Remove "sp" member; it's always
the same as stack_bottom.
* libguile/vm.c (scm_i_vm_cont_to_frame, scm_i_vm_capture_stack):
(vm_return_to_continuation_inner):
* libguile/stacks.c (scm_make_stack):
* libguile/continuations.c (scm_i_continuation_to_frame): Adapt.
Diffstat (limited to 'libguile/vm.h')
-rw-r--r-- | libguile/vm.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/libguile/vm.h b/libguile/vm.h index adac08593..936633d21 100644 --- a/libguile/vm.h +++ b/libguile/vm.h @@ -79,9 +79,6 @@ SCM_INTERNAL void scm_i_vm_free_stack (struct scm_vm *vp); #define SCM_F_VM_CONT_REWINDABLE 0x2 struct scm_vm_cont { - /* FIXME: sp isn't needed, it's effectively the same as - stack_bottom */ - union scm_vm_stack_element *sp; union scm_vm_stack_element *fp; scm_t_uint32 *ra; scm_t_ptrdiff stack_size; |