mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-05-02 13:00:26 +02:00
push a prompt handler value even in the inline-handler case
* module/language/tree-il/compile-glil.scm (flatten): Push a handler value even in the inline-handler case, to make prompt's interface more uniform, and also to correspond to the existing VM implementation.
This commit is contained in:
parent
adaf86ec49
commit
217167c6b2
1 changed files with 2 additions and 2 deletions
|
@ -981,8 +981,8 @@
|
|||
(escape-only? (hashq-ref allocation x)))
|
||||
;; First, set up the prompt.
|
||||
(comp-push tag)
|
||||
(if (not inline?)
|
||||
;; handler is not rendered inline, push it on the stack
|
||||
(if inline?
|
||||
(emit-code #f (make-glil-const #f)) ;; push #f as handler
|
||||
(comp-push handler))
|
||||
(if pre-unwind-handler
|
||||
(comp-push pre-unwind-handler)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue