mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
52da90acee
Previously, because opt_aref and opt_aset don't push a frame, when they would call rb_hash to determine the hash value of the key, the initial level of recursion would incorrectly use the method id at the top of the stack instead of "hash". This commit replaces rb_exec_recursive_outer with rb_exec_recursive_outer_mid, which takes an explicit method id, so that we can make the hash calculation behave consistently. rb_exec_recursive_outer was documented as being internal, so I believe this should be okay to change. |
||
---|---|---|
.. | ||
ruby | ||
ruby.h |