summaryrefslogtreecommitdiff
path: root/mjit.c
diff options
context:
space:
mode:
Diffstat (limited to 'mjit.c')
-rw-r--r--mjit.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/mjit.c b/mjit.c
index f6c402debe..0f596e1f49 100644
--- a/mjit.c
+++ b/mjit.c
@@ -887,10 +887,6 @@ skip_cleaning_object_files(struct rb_mjit_unit_list *list)
// No mutex for list, assuming MJIT worker does not exist yet since it's immediately after fork.
list_for_each_safe(&list->head, unit, next, unode) {
-#if USE_JIT_COMPACTION
- if (unit->c_file) unit->c_file_inherited_p = true;
-#endif
-
#if defined(_WIN32) // mswin doesn't reach here either. This is for MinGW.
if (unit->so_file) unit->so_file = NULL;
#endif