diff options
author | Alan Wu <[email protected]> | 2022-10-21 15:11:52 -0400 |
---|---|---|
committer | Alan Wu <[email protected]> | 2022-10-21 16:25:41 -0400 |
commit | 8bbcb75377fed4e4e7f2a5848e1a21f4dc0efa8c (patch) | |
tree | 6e63d7d49f23fe9bffbfaa17b6846cc017b80fc7 /internal/class.h | |
parent | c7754a4d4c977607695758c7fda7a20313a77398 (diff) |
YJIT: Read rb_num_t as usize early
This patch makes sure that we're not accidentally reading rb_num_t
instruction arguments as VALUE and accidentally baking them into
code and marking them. Some of these are simply moving the cast earlier,
but some of these avoid potential problems for flag and ID arguments.
Follow-up for 39f7eddec4c55711d56f05b085992a83bf23159e.
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/6606
Diffstat (limited to 'internal/class.h')
0 files changed, 0 insertions, 0 deletions