diff options
| author | Alan Wu <XrXr@users.noreply.github.com> | 2021-09-27 14:54:09 -0400 |
|---|---|---|
| committer | Alan Wu <XrXr@users.noreply.github.com> | 2021-10-20 18:19:41 -0400 |
| commit | 5c15850ea622d8ad86fa14cb5b9ba6f03abb232e (patch) | |
| tree | 73f43455c66579d555509c9d96c9868400bca19e /spec/ruby/core | |
| parent | 9dce2d51326c7db947507f32a9d33a0d22bbafbd (diff) | |
Use jit_guard_known_klass() for hashes in opt_aref
The old heap object check is not as efficient as the one in
jit_guard_known_klass(). Also, the old code saves cfp->sp after popping
the operands off the stack, which might cause the operands to be not
marked by the GC in some circumstances.
Diffstat (limited to 'spec/ruby/core')
0 files changed, 0 insertions, 0 deletions
