Commit b208f46
committed
ZJIT: Don't fold LoadField with negative offsets and use byte_add
No point doing the manual size unit conversion for add. Sorry, no new
tests since there is no way to generate a LoadField with a negative
offset from ruby code AFAICT. Careful with the `as` casts.1 parent 029a481 commit b208f46
1 file changed
Lines changed: 4 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3682 | 3682 | | |
3683 | 3683 | | |
3684 | 3684 | | |
3685 | | - | |
| 3685 | + | |
| 3686 | + | |
| 3687 | + | |
3686 | 3688 | | |
3687 | 3689 | | |
3688 | 3690 | | |
3689 | 3691 | | |
3690 | | - | |
3691 | | - | |
3692 | | - | |
| 3692 | + | |
3693 | 3693 | | |
3694 | 3694 | | |
3695 | 3695 | | |
| |||
0 commit comments