[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Guile-commits] 06/06: Update use of jit_begin_data API
From: |
Andy Wingo |
Subject: |
[Guile-commits] 06/06: Update use of jit_begin_data API |
Date: |
Thu, 30 Jul 2020 08:12:56 -0400 (EDT) |
wingo pushed a commit to branch master
in repository guile.
commit 2aa05ff3c489472f048501ad5db2a22b193982e1
Author: Andy Wingo <wingo@pobox.com>
AuthorDate: Thu Jul 30 14:12:26 2020 +0200
Update use of jit_begin_data API
* libguile/jit.c (compile_jtable): Pass computed jump table size.
---
libguile/jit.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libguile/jit.c b/libguile/jit.c
index 392f387..75dbe64 100644
--- a/libguile/jit.c
+++ b/libguile/jit.c
@@ -4368,7 +4368,7 @@ compile_jtable (scm_jit_state *j, uint32_t idx, uint32_t
len,
jit_jmpr (j->jit, T0);
/* Here's the table itself. */
- jit_begin_data (j->jit);
+ jit_begin_data (j->jit, sizeof(intptr_t) * len);
jit_align (j->jit, sizeof(intptr_t));
jit_patch_here (j->jit, table);
for (size_t i = 0; i + 1 < len; i++) {
- [Guile-commits] branch master updated (5342eb5 -> 2aa05ff), Andy Wingo, 2020/07/30
- [Guile-commits] 01/06: Allow jit_begin_data to declare max data size, Andy Wingo, 2020/07/30
- [Guile-commits] 03/06: Literal pools have word-alignment, not u64-alignment, Andy Wingo, 2020/07/30
- [Guile-commits] 04/06: Merge branch 'word-align-literal-pools' into 'master', Andy Wingo, 2020/07/30
- [Guile-commits] 05/06: Merge https://gitlab.com/wingo/lightening master branch, Andy Wingo, 2020/07/30
- [Guile-commits] 02/06: Merge branch 'size-data' into 'master', Andy Wingo, 2020/07/30
- [Guile-commits] 06/06: Update use of jit_begin_data API,
Andy Wingo <=