mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-06-24 20:30:28 +02:00
$throw is a new kind of CPS term
* module/language/cps.scm ($throw): New term type that doesn't have a continuation. Adapt all callers. Remove now-unneeded "prune-bailouts" pass.
This commit is contained in:
parent
de5c81b1d1
commit
ad55ee83c3
26 changed files with 145 additions and 148 deletions
|
@ -55,7 +55,9 @@
|
|||
(($ $branch kf kt src op param args)
|
||||
($branch kf kt src op param ,(map subst args)))
|
||||
(($ $prompt k kh src escape? tag)
|
||||
($prompt k kh src escape? (subst tag)))))
|
||||
($prompt k kh src escape? (subst tag)))
|
||||
(($ $throw src op param args)
|
||||
($throw src op param ,(map subst args)))))
|
||||
|
||||
(define (visit-label label cps)
|
||||
(match (intmap-ref cps label)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue