ruby/lib/ruby_vm/rjit
Alan Wu 2a978ee047
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 3081c83169,
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.
2024-05-01 10:22:41 -04:00
..
.document RJIT: Clean up unnecessary documentation 2023-12-21 16:47:13 -08:00
assembler.rb RJIT: Convert opt_case_dispatch keys with #to_value 2023-12-21 17:47:36 -08:00
block.rb
branch_stub.rb
c_pointer.rb RJIT: Distinguish Pointer with Array 2023-12-22 11:24:04 -08:00
c_type.rb RJIT: Distinguish Pointer with Array 2023-12-22 11:24:04 -08:00
code_block.rb RJIT: Avoid retaining comments unless --rjit-dump-disasm 2023-12-19 00:05:19 -08:00
compiler.rb RJIT: Prefer STDERR over $stderr 2023-12-22 21:48:26 -08:00
context.rb RJIT: Fix a wrong comparison in set_local_type 2023-12-21 16:45:37 -08:00
entry_stub.rb
exit_compiler.rb
hooks.rb
insn_compiler.rb YJIT: Fix `Struct` accessors not firing tracing events (#10690) 2024-05-01 10:22:41 -04:00
invariants.rb YJIT: Compile exception handlers (#8171) 2023-08-08 16:06:22 -07:00
jit_state.rb
stats.rb RJIT: Clean up unnecessary documentation 2023-12-21 16:47:13 -08:00
type.rb RJIT: Remove Type::CArray and limit use of Type::CString 2023-08-28 17:14:33 -04:00