guile-commits
[Top][All Lists]
Advanced

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

[Guile-commits] 01/03: Improve JIT cleanup a bit


From: Andy Wingo
Subject: [Guile-commits] 01/03: Improve JIT cleanup a bit
Date: Wed, 5 Sep 2018 16:10:21 -0400 (EDT)

wingo pushed a commit to branch lightning
in repository guile.

commit cf712c0eb1f3e76df58a58cc60803936c3795a02
Author: Andy Wingo <address@hidden>
Date:   Wed Sep 5 16:35:00 2018 +0200

    Improve JIT cleanup a bit
    
    * libguile/jit.c (initialize_jit): Improve cleanup a bit.
---
 libguile/jit.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/libguile/jit.c b/libguile/jit.c
index 57a634e..67242bd 100644
--- a/libguile/jit.c
+++ b/libguile/jit.c
@@ -4497,12 +4497,13 @@ compute_mcode (scm_thread *thread, uint32_t *entry_ip,
   }
 
   free (j->op_attrs);
+  j->op_attrs = NULL;
   free (j->labels);
   j->labels = NULL;
   jit_clear_state ();
   j->jit = NULL;
 
-  j->start = j->end = j->ip = NULL;
+  j->start = j->end = j->ip = j->entry = NULL;
   j->frame_size = -1;
 
   return entry_mcode;



reply via email to

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