91384b9535 (master): Set ISEQ_TRANSLATED without threaded code too

0 views
Skip to first unread message

Hiroshi SHIBATA

unread,
Oct 5, 2026, 10:33:16 PM (19 hours ago) Oct 5
to ruby...@g.ruby-lang.org
Hiroshi SHIBATA 2026-09-29 03:49:33 +0000 (Tue, 29 Sep 2026)

New Revision: 91384b9535

https://github.com/ruby/ruby/commit/91384b9535

Log:
Set ISEQ_TRANSLATED without threaded code too

Without direct or call threaded code, as with MSVC, the flag was never set. YJIT asserts it on running iseqs, and iseq_free decrements rb_yjit_live_iseq_count only when it is set while compile.c always increments it. The assertions in jit.c no longer need their guard, which did not compile where vm_core.h leaves OPT_DIRECT_THREADED_CODE undefined.

Co-Authored-By: Claude Opus 5.5 <nor...@anthropic.com>

Modified files:
compile.c
iseq.h
jit.c
Reply all
Reply to author
Forward
0 new messages