summaryrefslogtreecommitdiff
path: root/include/ruby
diff options
context:
space:
mode:
authorAlan Wu <XrXr@users.noreply.github.com>2023-04-03 21:24:47 -0400
committerAlan Wu <XrXr@users.noreply.github.com>2023-10-17 11:30:35 -0400
commit1f7234c0152df5dcf9a73acb352d20fcd3004ddf (patch)
tree65218828f1606fde8f4bb0621c61df754ac8084d /include/ruby
parent01b5d1d2ff6ca91b2909dfa67295f59b53e6f065 (diff)
YJIT: Lookup IDs on boot instead of binding to them
Previously, the version-controlled `cruby_bindings.inc.rs` file contained the build-time artifact `id.h`, which nobu mentioned hinders the goal of having fewer magic numbers in the repository. Lookup the IDs YJIT needs on boot. It costs cycles, but it's fine since YJIT only uses a handful of IDs at the moment. No perceptible degradation to boot time found in my testing.
Diffstat (limited to 'include/ruby')
0 files changed, 0 insertions, 0 deletions