summaryrefslogtreecommitdiff
path: root/doc/yjit
diff options
context:
space:
mode:
authorAlan Wu <XrXr@users.noreply.github.com>2021-10-15 14:10:10 -0400
committerAlan Wu <XrXr@users.noreply.github.com>2021-10-20 18:19:43 -0400
commit27358b6ee488a51cfa89a096d287a12a1950967c (patch)
tree2984844981ca3e93aa6e73e774648f5b70a10d09 /doc/yjit
parent28632ea7ba583328acc2f91f2de63a476c536c32 (diff)
downloadruby-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