[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Guile-commits] 01/01: Fix a JIT bug
From: |
Andy Wingo |
Subject: |
[Guile-commits] 01/01: Fix a JIT bug |
Date: |
Wed, 24 Apr 2019 16:31:46 -0400 (EDT) |
wingo pushed a commit to branch lightening
in repository guile.
commit 0ef614ecf921dfed69ed9495d937029bc41871eb
Author: Andy Wingo <address@hidden>
Date: Wed Apr 24 22:20:00 2019 +0200
Fix a JIT bug
* libguile/jit.c (compile): Reset frame size as well when restarting
compilation. Fixes JIT errors.
---
libguile/jit.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/libguile/jit.c b/libguile/jit.c
index dcab1f0..86d33a2 100644
--- a/libguile/jit.c
+++ b/libguile/jit.c
@@ -4641,6 +4641,7 @@ compile (scm_jit_state *j)
{
j->ip = (uint32_t *) j->start;
set_register_state (j, SP_IN_REGISTER | FP_IN_REGISTER);
+ j->frame_size = -1;
for (ptrdiff_t offset = 0; j->ip + offset < j->end; offset++)
j->labels[offset] = NULL;