diff options
| author | Alan Wu <XrXr@users.noreply.github.com> | 2022-11-01 11:44:55 -0400 |
|---|---|---|
| committer | Alan Wu <XrXr@users.noreply.github.com> | 2022-11-01 14:16:32 -0400 |
| commit | cbf15e5cbe30cbca45810ef65224ad1bc19c67b4 (patch) | |
| tree | 07c67bad9d5446a77b1d550e1d3d58f5ac6b4f6b /test | |
| parent | a70f90e1a95cf4dfbaa2485767156997eb958c4b (diff) | |
YJIT: Add an assert to help with Context changes
While experimenting I found that it's easy to change Context and forget
to also change the copying operation in limit_block_versions(). Add an
assert to make sure we substitute a compatible generic context when
limiting the number of versions.
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/6656
Diffstat (limited to 'test')
0 files changed, 0 insertions, 0 deletions
