summaryrefslogtreecommitdiff
path: root/vm.c
diff options
context:
space:
mode:
authorAaron Patterson <[email protected]>2025-04-10 11:53:49 -0700
committerAaron Patterson <[email protected]>2025-04-11 10:28:26 -0700
commit3628e9e30d3809da67eb38b9d19fa99f8a999eaa ()
treee0aab5c79d5763de45597bdfd79510f5f0acd19c /vm.c
parent0a35c5b4d9add69251590e3902a5d861df49e142 (diff)
Remove unused field on Thread struct
It looks like stat_insn_usage was introduced with YARV, but as far as I can tell the field has never been used. I think we should remove the field since we don't use it.
Notes: Merged: https://.com/ruby/ruby/pull/13100
-rw-r--r--vm.c1
1 files changed, 0 insertions, 1 deletions
@@ -3498,7 +3498,6 @@ thread_mark(void *ptr)
if (th->root_fiber) rb_fiber_mark_self(th->root_fiber);
RUBY_ASSERT(th->ec == rb_fiberptr_get_ec(th->ec->fiber_ptr));
- rb_gc_mark(th->stat_insn_usage);
rb_gc_mark(th->last_status);
rb_gc_mark(th->locking_mutex);
rb_gc_mark(th->name);