diff options
author | Alan Wu <XrXr@users.noreply.github.com> | 2024-05-01 10:22:41 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-01 10:22:41 -0400 |
commit | 2a978ee04732e719fb905af1baa03932b68a048a (patch) | |
tree | 79ed5387c12ef6ff2384ef4ecdef74a48e8c51e3 /lib/rubygems/util/licenses.rb | |
parent | f4c6479eeabc2b691f07f9421b7e7d59a7f53921 (diff) |
YJIT: Fix `Struct` accessors not firing tracing events (#10690)
* YJIT: Fix `Struct` accessors not firing tracing events
Reading and writing to structs should fire `c_call` and `c_return`, but
YJIT wasn't correctly dropping those calls when tracing.
This has been missing since this functionality was added in 3081c83169c,
but the added test only fails when ran in isolation with
`--yjit-call-threshold=1`. The test sometimes failed on CI.
* RJIT: YJIT: Fix `Struct` readers not firing tracing events
Same issue as YJIT, but it looks like RJIT doesn't support writing to
structs, so only reading needs changing.
Diffstat (limited to 'lib/rubygems/util/licenses.rb')
0 files changed, 0 insertions, 0 deletions