ZJIT: Remove JITState#iseq (#16774)
JITState#iseq
While working on implementing a new inliner for ZJIT, I keep running into an issue where the wrong iseq pointer is being used. Since JITState#iseq and FrameState#iseq end up being the same value in the absence of inlining, I don't think we've been all that rigorous about using the "correct" one in a given context. I've been migrating to FrameState#iseq in my inliner work and adapting on each rebase. But, having looked at this code for a little while, I think we can remove JITState#iseq....
FrameState#iseq
ZJIT: Add a YarvInsnIdx type for clarity (#16783)
Remove discard qualifiers warning with C23 strchr
C23 has qualifier-preserving standard library functions, so calling strchr with a const char * will return a const char *. We can change the type of the local variables because we don't mutate the strings.
const char *
Bump the github-actions group across 1 directory with 2 updates
Bumps the github-actions group with 2 updates in the / directory: ruby/setup-ruby and taiki-e/install-action....
Make rb_enc_str_coderange inlinable by default
rb_enc_str_coderange
This is a generalization of the optimization done in re.c as part of d0fbdb005cecd8513aeacb234365d71f9a9b521e.
Code that deal with coderange can benefit significantly from avoiding that function call, assuming coderange is often already...
Update default gems list at 8b77fda2aefd88031aabc23e332f27 [ci skip]
[ruby/erb] Version 6.0.4
https://github.com/ruby/erb/commit/4d2b45e140
[ruby/erb] Prohibit def_method on marshal-loaded ERB instances
Extends the @_init guard to def_method so that an ERB object created via Marshal.load (which bypasses initialize) raises ArgumentError instead of evaluating arbitrary source. def_module and def_class both...
class.c: Make cvc_tbl a managed object
[Bug #21952]
Solves the double-free or use after-free concern with boxes. Now entries can safely be used for copy-on-write.
Also is likely necessary to make it save to read cvar from secondary ractors, as allowed since: ab32c0e690b805cdaaf264ad4c3421696c588204
View all revisions | View revisions
Also available in: Atom