diff options
| author | Alan Wu <XrXr@users.noreply.github.com> | 2025-07-18 19:30:24 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-07-18 23:30:24 +0000 |
| commit | b49ae45b88d5b80ff9f8ff2acc748bf98aa700c6 (patch) | |
| tree | fd4f870717f5e6c4774cdc36b8fbba51a1afffa0 /test/ruby/test_method.rb | |
| parent | bd27460c0629e807aaed15dd1573367b5f9cda3f (diff) | |
Remove dead post-hoc rehash check
Hash#rehash checks whether the hash is iterating, and with VWA,
RHASH_ST_TABLE() always returns the same thing for the same
hash.
RHASH_ST_TABLE(VALUE h)
{
return (st_table *)((uintptr_t)h + sizeof(struct RHash));
}
So this check can never fail and raise an exception. Remove it.
Diffstat (limited to 'test/ruby/test_method.rb')
0 files changed, 0 insertions, 0 deletions
