mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-06-12 06:41:13 +02:00
Improve JIT cleanup a bit
* libguile/jit.c (initialize_jit): Improve cleanup a bit.
This commit is contained in:
parent
babd4118c2
commit
cf712c0eb1
1 changed files with 2 additions and 1 deletions
|
@ -4497,12 +4497,13 @@ compute_mcode (scm_thread *thread, uint32_t *entry_ip,
|
||||||
}
|
}
|
||||||
|
|
||||||
free (j->op_attrs);
|
free (j->op_attrs);
|
||||||
|
j->op_attrs = NULL;
|
||||||
free (j->labels);
|
free (j->labels);
|
||||||
j->labels = NULL;
|
j->labels = NULL;
|
||||||
jit_clear_state ();
|
jit_clear_state ();
|
||||||
j->jit = NULL;
|
j->jit = NULL;
|
||||||
|
|
||||||
j->start = j->end = j->ip = NULL;
|
j->start = j->end = j->ip = j->entry = NULL;
|
||||||
j->frame_size = -1;
|
j->frame_size = -1;
|
||||||
|
|
||||||
return entry_mcode;
|
return entry_mcode;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue