diff options
| author | Takashi Kokubun <takashikkbn@gmail.com> | 2022-11-27 21:41:53 -0800 |
|---|---|---|
| committer | Takashi Kokubun <takashikkbn@gmail.com> | 2022-11-27 21:44:28 -0800 |
| commit | a22c684c5940210515d295684e016cd834b2b53f (patch) | |
| tree | 08d8ecf5e9b9b6061121fad80cc5308ddaf07e50 /test/ruby | |
| parent | 6844bcc6b4cdc50def1c0d30d4e8b5045fb43443 (diff) | |
MJIT: Refactor invokebuiltin_delegate_leave
You shouldn't assume bf->compiler is always non-zero. While struct
aref/aset is no longer a builtin function since
https://github.com/ruby/ruby/pull/5131, it seems like you could still
load such an iseq binary.
The refactored code fallbacks to compile_insn_default correctly when
bf->compiler is zero.
Diffstat (limited to 'test/ruby')
0 files changed, 0 insertions, 0 deletions
