summaryrefslogtreecommitdiff
path: root/libguile/eval.c
diff options
context:
space:
mode:
authorAndy Wingo <wingo@pobox.com>2015-10-18 22:59:23 +0200
committerAndy Wingo <wingo@pobox.com>2015-10-21 11:49:20 +0200
commit72353de77d0a06f158d8af66a2540015658e2574 (patch)
tree01347b554843ae90551d63f5240e21dce8b57072 /libguile/eval.c
parent8f027385db228d68193ad7316cf0b79489ac038b (diff)
downloadguile-72353de77d0a06f158d8af66a2540015658e2574.tar.gz
Replace dynamic link on stack with previous frame size
* libguile/frames.h (SCM_FRAME_DYNAMIC_LINK) (SCM_FRAME_SET_DYNAMIC_LINK): Instead of storing the absolute value of the previous FP, store its offset from the current FP. This allows us to avoid relinking when composing continuations or when relocating the stack. * libguile/frames.c (scm_frame_dynamic_link, scm_c_frame_previous): No need to relocate the dynamic link. * libguile/vm.c (vm_return_to_continuation_inner): (vm_reinstate_partial_continuation_inner, vm_expand_stack_inner): Don't relocate the frame pointer chain. (scm_i_vm_mark_stack): Terminate when FP is above stack_top, not when 0. (make_vm): Init FP to stack_top.
Diffstat (limited to 'libguile/eval.c')
0 files changed, 0 insertions, 0 deletions