diff options
author | Andy Wingo <wingo@pobox.com> | 2018-06-26 11:25:07 +0200 |
---|---|---|
committer | Andy Wingo <wingo@pobox.com> | 2018-06-26 11:25:07 +0200 |
commit | 51e35158bad42b8db28e9272ebb279f17b76dbe4 (patch) | |
tree | 02370d3b367571aed28154df7cfc23d0b7dd5bf7 /libguile/fluids.c | |
parent | 185d19dfb1a570c3075fa8f1a653334412ae6b85 (diff) | |
download | guile-51e35158bad42b8db28e9272ebb279f17b76dbe4.tar.gz |
Refactor continuation capture in VM
* libguile/continuations.h:
* libguile/continuations.c (scm_i_make_continuation): Refactor to expect
registers to already be captured.
* libguile/scm.h (scm_i_thread): Add forward decl.
* libguile/threads.h (struct scm_i_thread): Just fill in the struct
type.
* libguile/vm-engine.c (call/cc); Use the registers already captured
before entering the VM.
Diffstat (limited to 'libguile/fluids.c')
0 files changed, 0 insertions, 0 deletions