1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-06-12 06:41:13 +02:00
guile/module/system/vm
Andy Wingo c2cba86785 Better compilation of calls to raise-exception
Recognize `raise-exception` in the same way we recognize `throw`, though
it is a bit less optimized and the boot story is not as complicated.

* doc/ref/vm.texi (Non-Local Control Flow Instructions):
* libguile/jit.c (compile_unreachable):
(compile_unreachable_slow):
* libguile/vm-engine.c (VM_NAME):
* module/language/cps/compile-bytecode.scm (compile-function):
* module/system/vm/assembler.scm (emit-unreachable): Add new
"unreachable" instruction, inserted after a call to non-continuable
`raise-exception`.
* module/language/tree-il/compile-cps.scm (raise-exception):
* module/language/tree-il/primitives.scm
(*interesting-primitive-names*): Recognize raise-exception, and if it is
called with just one argument, prune that branch of the control-flow
graph.
2023-08-28 12:11:19 +02:00
..
assembler.scm Better compilation of calls to raise-exception 2023-08-28 12:11:19 +02:00
coverage.scm Add missing #:modules argument for coverage-data->lcov. 2022-06-16 10:01:06 +02:00
debug.scm Fix frame-call-representation for callees without closures 2019-11-27 15:04:55 +01:00
disassembler.scm Better compilation of calls to raise-exception 2023-08-28 12:11:19 +02:00
dwarf.scm Remove unnecessary module imports. 2023-02-24 16:49:00 +01:00
elf.scm Remove unnecessary module imports. 2023-02-24 16:49:00 +01:00
frame.scm Remove unnecessary module imports. 2023-02-24 16:49:00 +01:00
inspect.scm Remove unnecessary module imports. 2023-02-24 16:49:00 +01:00
linker.scm Remove unnecessary module imports. 2023-02-24 16:49:00 +01:00
loader.scm Rename objcodes?.{scm,c,h} to loader.{scm,c,h} 2013-11-19 21:45:07 +01:00
program.scm Remove unnecessary module imports. 2023-02-24 16:49:00 +01:00
trace.scm Remove unnecessary module imports. 2023-02-24 16:49:00 +01:00
trap-state.scm Remove unnecessary module imports. 2023-02-24 16:49:00 +01:00
traps.scm Remove unnecessary module imports. 2023-02-24 16:49:00 +01:00
vm.scm VM manages hook sets itself 2018-09-14 08:52:24 +02:00