1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-06-10 14:00:21 +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:
Andy Wingo 2019-05-21 12:39:55 +02:00
parent a4875baa4e
commit 107926f8dd

View file

@ -4652,7 +4652,7 @@ static scm_i_pthread_once_t initialize_jit_once = SCM_I_PTHREAD_ONCE_INIT;
static void*
jit_alloc_fn (size_t size)
{
return scm_gc_malloc_pointerless (size, "jit state");
return scm_gc_malloc (size, "jit state");
}
static void