mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-06-11 14:21:10 +02:00
Fix allocator passed to lightening
* libguile/jit.c (jit_alloc_fn): On targets that need a dynamically allocated literal pool, we will need to trace that pool, so pass a pointerful malloc. Fixes JIT on AArch64.
This commit is contained in:
parent
a4875baa4e
commit
107926f8dd
1 changed files with 1 additions and 1 deletions
|
@ -4652,7 +4652,7 @@ static scm_i_pthread_once_t initialize_jit_once = SCM_I_PTHREAD_ONCE_INIT;
|
||||||
static void*
|
static void*
|
||||||
jit_alloc_fn (size_t size)
|
jit_alloc_fn (size_t size)
|
||||||
{
|
{
|
||||||
return scm_gc_malloc_pointerless (size, "jit state");
|
return scm_gc_malloc (size, "jit state");
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue