diff options
author | Alan Wu <XrXr@users.noreply.github.com> | 2021-10-15 14:10:10 -0400 |
---|---|---|
committer | Alan Wu <XrXr@users.noreply.github.com> | 2021-10-20 18:19:43 -0400 |
commit | 27358b6ee488a51cfa89a096d287a12a1950967c (patch) | |
tree | 2984844981ca3e93aa6e73e774648f5b70a10d09 /doc/yjit | |
parent | 28632ea7ba583328acc2f91f2de63a476c536c32 (diff) | |
download | ruby-27358b6ee488a51cfa89a096d287a12a1950967c.tar.gz |
Simplify code for YJIT const cache in compile.c
Since opt_getinlinecache and opt_setinlinecache point to the same cache
struct, there is no need to track the index of the get instruction and
then store it on the cache struct later when processing the set
instruction. Setting it when processing the get instruction works just
as well.
This change reduces our diff.
Diffstat (limited to 'doc/yjit')
0 files changed, 0 insertions, 0 deletions