summaryrefslogtreecommitdiff
path: root/include/ruby/internal/intern/ruby.h
diff options
context:
space:
mode:
authorAlan Wu <XrXr@users.noreply.github.com>2025-09-25 16:24:58 -0400
committerAlan Wu <XrXr@users.noreply.github.com>2025-09-25 18:36:58 -0400
commit00e6c10168596d4810f56430f18f778b66e30769 (patch)
tree7a9338c74b8743c415d44ace0b2e037cbfd06389 /include/ruby/internal/intern/ruby.h
parent1a52c42e61878a1fe1d411a74108607766183b10 (diff)
ZJIT: Standardize to `Iterator::map` in `Invariants::update_references`
The old code was doing a manual HashSet/HashMap rebuild, and there isn't a clear performance advantage over `Iterator::map`. So let's use `map` since it looks clearer and it's easier to see that everything was indeed updated. This also adds assertions the old code did not have by way of as_iseq() and as_cme().
Diffstat (limited to 'include/ruby/internal/intern/ruby.h')
0 files changed, 0 insertions, 0 deletions