mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-05-01 04:10:18 +02:00
Update use of jit_begin_data API
* libguile/jit.c (compile_jtable): Pass computed jump table size.
This commit is contained in:
parent
d4e730a458
commit
2aa05ff3c4
1 changed files with 1 additions and 1 deletions
|
@ -4368,7 +4368,7 @@ compile_jtable (scm_jit_state *j, uint32_t idx, uint32_t len,
|
||||||
jit_jmpr (j->jit, T0);
|
jit_jmpr (j->jit, T0);
|
||||||
|
|
||||||
/* Here's the table itself. */
|
/* 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_align (j->jit, sizeof(intptr_t));
|
||||||
jit_patch_here (j->jit, table);
|
jit_patch_here (j->jit, table);
|
||||||
for (size_t i = 0; i + 1 < len; i++) {
|
for (size_t i = 0; i + 1 < len; i++) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue