diff options
author | Andy Wingo <wingo@pobox.com> | 2018-04-29 10:22:30 +0200 |
---|---|---|
committer | Andy Wingo <wingo@pobox.com> | 2018-04-29 10:22:30 +0200 |
commit | 2eb9c755d1db5d5baedd6594d6385a9b98ad8fcf (patch) | |
tree | 6f0654b667b87cd9adcab000ce975fc47820847c /module/system/foreign-object.scm | |
parent | 4779a10223078c89db4734857850df9af3d6830d (diff) | |
download | guile-2eb9c755d1db5d5baedd6594d6385a9b98ad8fcf.tar.gz |
Intrinsics for dynamic state instructions
* libguile/intrinsics.c (wind, unwind, push_fluid, pop_fluid)
(fluid_ref): New intrinsics.
(scm_bootstrap_intrinsics): Wire them up.
* libguile/intrinsics.h (SCM_FOR_ALL_VM_INTRINSICS): Declare new
intrinsics.
* libguile/vm-engine.c (wind, unwind, push_fluid, pop_fluid)
(fluid_ref): Disable these instructions.
* module/language/cps/reify-primitives.scm (compute-known-primitives):
Add new intrinsics.
* module/system/vm/assembler.scm (wind, unwind, push_fluid, pop_fluid)
(fluid_ref): Assemble as intrinsics.
Diffstat (limited to 'module/system/foreign-object.scm')
0 files changed, 0 insertions, 0 deletions