Skip to content

Commit

Permalink
Try pining the literal regexps src strings
Browse files Browse the repository at this point in the history
  • Loading branch information
byroot committed Jan 22, 2020
1 parent 25f1978 commit 679bb1a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vm.c
Original file line number Diff line number Diff line change
Expand Up @@ -2296,7 +2296,7 @@ rb_vm_mark(void *ptr)
rb_hook_list_mark(&vm->global_hooks);

rb_gc_mark_values(RUBY_NSIG, vm->trap_list.cmd);
rb_mark_tbl_no_pin(vm->regexp_literals);
rb_mark_tbl(vm->regexp_literals);
mjit_mark();
}

Expand Down

0 comments on commit 679bb1a

Please sign in to comment.