diff options
| author | Alan Wu <XrXr@users.noreply.github.com> | 2024-01-22 17:58:05 -0500 |
|---|---|---|
| committer | Alan Wu <XrXr@users.noreply.github.com> | 2024-01-23 11:04:16 -0500 |
| commit | 7f51959ff14fbe06bc1afd283d1af17b26161cf4 (patch) | |
| tree | 9f9b6e7ba9259640b3f1434847ed88387beab4c2 /encoding.c | |
| parent | b14674b236445fb70f484603e678722760f678f4 (diff) | |
YJIT: Move guard up for a case of splat+rest
Previously, YJIT put the guard for having enough items to extract from
splat array at a place where the side exit is invalid, so if the guard
fails, YJIT could raise something other than ArgumentError. Move the
guard up to a place before any stack manipulation.
[Bug #20204]
Diffstat (limited to 'encoding.c')
0 files changed, 0 insertions, 0 deletions
