1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-06-11 06:20:23 +02:00
guile/module
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
..
ice-9 Fix embarrassing pretty-print bug 2023-08-24 12:20:45 +02:00
language Better compilation of calls to raise-exception 2023-08-28 12:11:19 +02:00
oop goops: Preserve all slot options in redefinable classes. 2021-03-19 21:45:53 +01:00
rnrs Implement R6RS custom textual ports 2023-06-08 10:21:02 +02:00
scheme r7rs: 'read-u8' now defaults to 'current-input-port'. 2023-07-16 22:31:19 +02:00
scripts Fix typos throughout codebase. 2023-07-16 22:09:01 +02:00
srfi define-inlinable marks residualized procedure as maybe-unused 2023-08-24 11:43:31 +02:00
sxml Remove unnecessary module imports. 2023-02-24 16:49:00 +01:00
system Better compilation of calls to raise-exception 2023-08-28 12:11:19 +02:00
texinfo Remove unnecessary module imports. 2023-02-24 16:49:00 +01:00
web Use custom binary output ports for make-chunked-output-port 2023-06-08 09:03:10 +02:00
Makefile.am Rework bootstrap to be reproducible 2022-02-01 14:50:40 +01:00
rnrs.scm Define top-level bindings for aux syntax: else, =>, _, ... 2019-09-12 21:50:51 +02:00
statprof.scm Statprof reports primitive names 2020-06-04 11:46:34 +02:00
texinfo.scm texinfo: Add basic support for @w{...}. 2020-06-18 00:30:30 +02:00