From 02d9524cdaca1754718bf1d591408d377e6b383a Mon Sep 17 00:00:00 2001 From: Koichi Sasada Date: Sun, 20 Dec 2020 01:44:41 +0900 Subject: separate rb_ractor_pub from rb_ractor_t separate some fields from rb_ractor_t to rb_ractor_pub and put it at the beggining of rb_ractor_t and declare it in vm_core.h so vm_core.h can access rb_ractor_pub fields. Now rb_ec_ractor_hooks() is a complete inline function and no MJIT related issue. --- vm_trace.c | 1 + 1 file changed, 1 insertion(+) (limited to 'vm_trace.c') diff --git a/vm_trace.c b/vm_trace.c index 3835b18ae8..06879812b3 100644 --- a/vm_trace.c +++ b/vm_trace.c @@ -68,6 +68,7 @@ static void clean_hooks(const rb_execution_context_t *ec, rb_hook_list_t *list); void rb_hook_list_free(rb_hook_list_t *hooks) { + hooks->need_clean = TRUE; clean_hooks(GET_EC(), hooks); } -- cgit v1.2.3