guile-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Guile-commits] 03/03: Fix allocator passed to lightening


From: Andy Wingo
Subject: [Guile-commits] 03/03: Fix allocator passed to lightening
Date: Tue, 21 May 2019 06:41:07 -0400 (EDT)

wingo pushed a commit to branch master
in repository guile.

commit 107926f8ddcaecf43c25c1493bc2a636ccfba08c
Author: Andy Wingo <address@hidden>
Date:   Tue May 21 12:39:55 2019 +0200

    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.
---
 libguile/jit.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libguile/jit.c b/libguile/jit.c
index 3079d00..6c7399a 100644
--- a/libguile/jit.c
+++ b/libguile/jit.c
@@ -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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]