mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-06-14 23:50:19 +02:00
Compile fluid-set! to VM opcode
* libguile/vm-engine.c (fluid-set!): Fix name of opcode to correspond with name of Tree-IL primitive. Fixes compilation of fluid-set! to actually use the fluid-set! opcode. * doc/ref/vm.texi (Dynamic Environment Instructions): Update. * module/language/cps/compile-bytecode.scm (compile-function): Add fluid-set! case. * module/system/vm/assembler.scm: Update export name for emit-fluid-set!.
This commit is contained in:
parent
7b6b86f255
commit
8bd5dae8c3
4 changed files with 5 additions and 3 deletions
|
@ -2196,7 +2196,7 @@ VM_NAME (scm_i_thread *thread, struct scm_vm *vp,
|
|||
*
|
||||
* Set the value of the fluid in DST to the value in SRC.
|
||||
*/
|
||||
VM_DEFINE_OP (75, fluid_set, "fluid-set", OP1 (X8_S12_S12))
|
||||
VM_DEFINE_OP (75, fluid_set, "fluid-set!", OP1 (X8_S12_S12))
|
||||
{
|
||||
scm_t_uint16 a, b;
|
||||
size_t num;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue