You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ZJIT: Fix crash when Kernel is prepended before JIT init
Use RCLASS_ORIGIN when looking up methods to register for specialized
codegen. Module#prepend moves original methods to an origin iclass,
so rb_method_entry_at on the module itself returns NULL after prepend.
This happens in practice when BUNDLER_SETUP triggers Kernel.prepend
during ruby_init_prelude, before rb_zjit_init runs.
0 commit comments