summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorAlan Wu <XrXr@users.noreply.github.com>2025-11-19 16:39:29 -0500
committerAlan Wu <XrXr@users.noreply.github.com>2025-11-20 19:52:28 -0500
commit07ddb0ed73b1ea61cb717f4424f7b2909d8c0ab3 (patch)
tree9ecfd666f6d3a66e0332a93da4bc814ef069b8ff /spec
parent7a09df45f2619a672eaab763c2e2a0c5199d5daa (diff)
ZJIT: Read `iseq->body->param` directly instead of through FFI
Going through a call to a C function just to read a bitfield was a little extreme. We did it to be super conservative since bitfields have historically been the trigger of many bugs and surprises. Let's try directly accessing them with code from rust-bindgen. If this ends up causing issues, we can use the FFI approach behind nicer wrappers. In any case, directly access regular struct fields such as `lead_num` and `opt_num` to remove boilerplate.
Diffstat (limited to 'spec')
0 files changed, 0 insertions, 0 deletions