mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-06-09 21:40:33 +02:00
Fix prompt miscompilation
* module/language/cps/compile-bytecode.scm (compile-function): Fix miscompilation when the handler body is forwarded.
This commit is contained in:
parent
a0a8741608
commit
d7199da8c9
1 changed files with 1 additions and 1 deletions
|
@ -224,7 +224,7 @@
|
||||||
((src . dst) (emit-mov asm dst src)))
|
((src . dst) (emit-mov asm dst src)))
|
||||||
(lookup-parallel-moves handler allocation))
|
(lookup-parallel-moves handler allocation))
|
||||||
(emit-reset-frame asm frame-size)
|
(emit-reset-frame asm frame-size)
|
||||||
(emit-br asm khandler-body)))))
|
(emit-br asm (forward-label khandler-body))))))
|
||||||
(($ $primcall 'cache-current-module! (sym scope))
|
(($ $primcall 'cache-current-module! (sym scope))
|
||||||
(emit-cache-current-module! asm (slot sym) (constant scope)))
|
(emit-cache-current-module! asm (slot sym) (constant scope)))
|
||||||
(($ $primcall 'free-set! (closure idx value))
|
(($ $primcall 'free-set! (closure idx value))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue