mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-06-17 01:00:20 +02:00
Add new $calli expression type.
* module/language/cps.scm ($calli): New expression type which calls a function entry as originally captured via $code. Adapt all callers.
This commit is contained in:
parent
f8b1607602
commit
dc4fe9741f
22 changed files with 102 additions and 20 deletions
|
@ -1,6 +1,6 @@
|
|||
;;; Continuation-passing style (CPS) intermediate language (IL)
|
||||
|
||||
;; Copyright (C) 2013-2021 Free Software Foundation, Inc.
|
||||
;; Copyright (C) 2013-2021, 2023 Free Software Foundation, Inc.
|
||||
|
||||
;;;; This library is free software; you can redistribute it and/or
|
||||
;;;; modify it under the terms of the GNU Lesser General Public
|
||||
|
@ -578,6 +578,8 @@
|
|||
(compile-call #f proc args))
|
||||
(($ $callk kfun proc args)
|
||||
(compile-call kfun proc args))
|
||||
(($ $calli args callee)
|
||||
(error "unreachable"))
|
||||
(_
|
||||
(match cont
|
||||
(($ $kargs names vars)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue