summaryrefslogtreecommitdiff
path: root/include/ruby/internal
diff options
context:
space:
mode:
authorKoichi Sasada <ko1@atdot.net>2021-05-13 03:10:18 +0900
committerKoichi Sasada <ko1@atdot.net>2021-07-29 00:56:48 +0900
commitfb4cf204a662a8cd9dafef6f31f2bd0db9129abe (patch)
treeb66769f1420ab372f81ea5e5ae53d232cfe60a98 /include/ruby/internal
parent7af750af8e718acf962578af988883ead55135b3 (diff)
use me->def instead of me for opt_table
`vm_opt_method_table` is me=>bop table to manage the optimized methods (by specialized instruction). However, `me` can be invalidated to invalidate the method cache entry. [Bug #17725] To solve the issue, use `me-def` instead of `me` which simply copied at invalidation timing. A test by @jeremyevans https://github.com/ruby/ruby/pull/4376
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/4493
Diffstat (limited to 'include/ruby/internal')
0 files changed, 0 insertions, 0 deletions