summaryrefslogtreecommitdiff
path: root/eval.c
diff options
context:
space:
mode:
authorTakashi Kokubun <takashikkbn@gmail.com>2022-10-17 09:27:59 -0700
committerGitHub <noreply@github.com>2022-10-17 09:27:59 -0700
commite7c71c6c9271b0c29f210769159090e17128e740 (patch)
tree536ec0057e05111955abe0a9cb38389af6c50d08 /eval.c
parent07a93b1e378bf2ea356b0561e5e89e60d30fc684 (diff)
Make mjit_cont sharable with YJIT (#6556)
* Make mjit_cont sharable with YJIT * Update dependencies * Update YJIT binding
Notes
Notes: Merged-By: k0kubun <takashikkbn@gmail.com>
Diffstat (limited to 'eval.c')
-rw-r--r--eval.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/eval.c b/eval.c
index 9567f80150..f5c9c0f087 100644
--- a/eval.c
+++ b/eval.c
@@ -21,6 +21,7 @@
#include "gc.h"
#include "internal.h"
#include "internal/class.h"
+#include "internal/cont.h"
#include "internal/error.h"
#include "internal/eval.h"
#include "internal/hash.h"
@@ -251,7 +252,8 @@ rb_ec_cleanup(rb_execution_context_t *ec, int ex0)
}
}
- mjit_finish(true); // We still need ISeqs here.
+ mjit_finish(true); // We still need ISeqs here, so it's before rb_ec_finalize().
+ rb_jit_cont_finish();
rb_ec_finalize(ec);