fcbdc2072d (master): Dynamically derive base_label in iseq

0 views
Skip to first unread message

Peter Zhu

unread,
Aug 29, 2026, 1:17:35 AM (3 days ago) Aug 29
to ruby...@g.ruby-lang.org
Peter Zhu 2026-08-28 06:16:38 +0000 (Fri, 28 Aug 2026)

New Revision: fcbdc2072d

https://github.com/ruby/ruby/commit/fcbdc2072d

Log:
Dynamically derive base_label in iseq

base_label isn't used very often in iseq and we can dynamically derive it
from the label (of the current iseq or the local_iseq). We can remove this
field to save 8 bytes.

Modified files:
compile.c
iseq.c
vm_backtrace.c
vm_core.h
vm_insnhelper.c
zjit/src/cruby_bindings.inc.rs
Reply all
Reply to author
Forward
0 new messages