diff options
Diffstat (limited to 'src/comp.c')
| -rw-r--r-- | src/comp.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/comp.c b/src/comp.c index 42186e7ea5d..7f1219780cc 100644 --- a/src/comp.c +++ b/src/comp.c | |||
| @@ -2183,8 +2183,11 @@ DEFUN ("comp-init-ctxt", Fcomp_init_ctxt, Scomp_init_ctxt, | |||
| 2183 | sizeof (void *), | 2183 | sizeof (void *), |
| 2184 | false); | 2184 | false); |
| 2185 | 2185 | ||
| 2186 | if (NILP (comp.func_hash)) | 2186 | /* |
| 2187 | comp.func_hash = CALLN (Fmake_hash_table, QCtest, Qequal); | 2187 | Always reinitialize this cause old function definitions are garbage collected |
| 2188 | by libgccjit when the ctxt is released. | ||
| 2189 | */ | ||
| 2190 | comp.func_hash = CALLN (Fmake_hash_table, QCtest, Qequal); | ||
| 2188 | 2191 | ||
| 2189 | /* Define data structures. */ | 2192 | /* Define data structures. */ |
| 2190 | 2193 | ||