mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-06-14 15:40:19 +02:00
Add handle-interrupts inst and compiler pass
* libguile/vm-engine.c (vm_engine): Remove initial VM_HANDLE_INTERRUPTS call; surely our caller already handled interrupts. Add handle-interrupts opcode. * am/bootstrap.am (SOURCES): * module/Makefile.am (SOURCES): Add handle-interrupts.scm. * module/system/vm/assembler.scm (system): * module/language/cps/compile-bytecode.scm (compile-function): (lower-cps): Add handle-interrupts support. * module/language/cps/handle-interrupts.scm: New file.
This commit is contained in:
parent
fcb43488b3
commit
ca74e3fae5
6 changed files with 76 additions and 4 deletions
|
@ -221,6 +221,7 @@
|
|||
emit-atomic-box-set!
|
||||
emit-atomic-box-swap!
|
||||
emit-atomic-box-compare-and-swap!
|
||||
emit-handle-interrupts
|
||||
|
||||
emit-text
|
||||
link-assembly))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue