diff options
| author | Alan Wu <XrXr@users.noreply.github.com> | 2025-07-07 18:25:20 +0900 |
|---|---|---|
| committer | Alan Wu <XrXr@users.noreply.github.com> | 2025-07-15 14:47:32 -0400 |
| commit | b2ef33b3c5b2aa1ff4742911c84451ec7afd2fde (patch) | |
| tree | c7a4d8dff723078a41fa4b4c3725ae5eaa7e200c /include/ruby/ruby.h | |
| parent | 50e2d58af89a661d7c90db001d966a1dbff48332 (diff) | |
ZJIT: Redo JIT function native stack frame layout
Previously, gen_param() access slots at `SP-x` for `x≥0` after subtracting from
SP, so it was accessing slots from above the top of the stack. Also, the
slots gen_entry_params() wrote to at entry point did not correspond to
the slots access inside the JIT function.
Redo the stack frame layout so that inside the function slots are at
`SP+x`. Write to those slots in the entry point by anticipating the size
of the frame.
Fixes test_spilled_method_args().
Diffstat (limited to 'include/ruby/ruby.h')
0 files changed, 0 insertions, 0 deletions
