[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Guile-commits] 02/12: Fix prompt miscompilation
From: |
Andy Wingo |
Subject: |
[Guile-commits] 02/12: Fix prompt miscompilation |
Date: |
Wed, 21 Oct 2015 13:13:29 +0000 |
wingo pushed a commit to branch master
in repository guile.
commit d7199da8c9d287b9602e053d470d0a822b4f7cec
Author: Andy Wingo <address@hidden>
Date: Sun Oct 18 13:24:21 2015 +0200
Fix prompt miscompilation
* module/language/cps/compile-bytecode.scm (compile-function): Fix
miscompilation when the handler body is forwarded.
---
module/language/cps/compile-bytecode.scm | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/module/language/cps/compile-bytecode.scm
b/module/language/cps/compile-bytecode.scm
index 265189b..498bac9 100644
--- a/module/language/cps/compile-bytecode.scm
+++ b/module/language/cps/compile-bytecode.scm
@@ -224,7 +224,7 @@
((src . dst) (emit-mov asm dst src)))
(lookup-parallel-moves handler allocation))
(emit-reset-frame asm frame-size)
- (emit-br asm khandler-body)))))
+ (emit-br asm (forward-label khandler-body))))))
(($ $primcall 'cache-current-module! (sym scope))
(emit-cache-current-module! asm (slot sym) (constant scope)))
(($ $primcall 'free-set! (closure idx value))
- [Guile-commits] branch master updated (315adb6 -> f039604), Andy Wingo, 2015/10/22
- [Guile-commits] 11/12: Minor assembler cleanups, Andy Wingo, 2015/10/21
- [Guile-commits] 02/12: Fix prompt miscompilation,
Andy Wingo <=
- [Guile-commits] 04/12: VM caches address of local 0 instead of FP, Andy Wingo, 2015/10/21
- [Guile-commits] 03/12: VM stack grows downward, Andy Wingo, 2015/10/21
- [Guile-commits] 12/12: Add stack size computation to disassembler, Andy Wingo, 2015/10/21
- [Guile-commits] 05/12: Remove sp from scm_vm_cont, Andy Wingo, 2015/10/21
- [Guile-commits] 08/12: Prepare for SP-addressed locals, Andy Wingo, 2015/10/21
- [Guile-commits] 09/12: Fix boot closure wrong-num-args error, Andy Wingo, 2015/10/21
- [Guile-commits] 10/12: SP-relative local addressing, Andy Wingo, 2015/10/21
- [Guile-commits] 06/12: Rename union scm_vm_stack_element members, Andy Wingo, 2015/10/21
- [Guile-commits] 01/12: Minor VM documentation updates, Andy Wingo, 2015/10/22
- [Guile-commits] 07/12: Replace dynamic link on stack with previous frame size, Andy Wingo, 2015/10/22