summaryrefslogtreecommitdiff
path: root/include/ruby/encoding.h
diff options
context:
space:
mode:
authorAlan Wu <XrXr@users.noreply.github.com>2022-08-08 14:49:46 -0400
committerTakashi Kokubun <takashikkbn@gmail.com>2022-08-29 08:47:08 -0700
commita3757842752e78a5f53b5dfcdcf9601c037f8c76 (patch)
tree0125b93a821aef45458d9ff70c9bde7a676fa91a /include/ruby/encoding.h
parent726a4519550fd9191833e482122e3c7bf9a468be (diff)
Use new assembler to support global invalidation on A64
Previously, we patched in an x64 JMP even on A64, which resulted in invalid machine code. Use the new assembler to generate a jump instead. Add an assert to make sure patches don't step on each other since it's less clear cut on A64, where the size of the jump varies depending on its placement relative to the target. Fixes a lot of tests that use `set_trace_func` in `test_insns.rb`. PR: https://github.com/Shopify/ruby/pull/379
Diffstat (limited to 'include/ruby/encoding.h')
0 files changed, 0 insertions, 0 deletions