diff options
author | Maxime Chevalier-Boisvert <maxime.chevalierboisvert@shopify.com> | 2023-07-17 10:41:18 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-07-17 10:41:18 -0400 |
commit | d70484f0eb176a7ef7274972ff92b88905ea0edc (patch) | |
tree | f255d7024f61ed86e0dd4e2f848c39a8e2dfce97 /yjit/bindgen/src/main.rs | |
parent | 1c4a523006e4a0994db4f166bd410fe1d35e8611 (diff) | |
download | ruby-d70484f0eb176a7ef7274972ff92b88905ea0edc.tar.gz |
YJIT: refactoring to allow for fancier call threshold logic (#8078)
* YJIT: refactoring to allow for fancier call threshold logic
* Avoid potentially compiling functions multiple times.
* Update vm.c
Co-authored-by: Alan Wu <XrXr@users.noreply.github.com>
---------
Co-authored-by: Alan Wu <XrXr@users.noreply.github.com>
Diffstat (limited to 'yjit/bindgen/src/main.rs')
-rw-r--r-- | yjit/bindgen/src/main.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/yjit/bindgen/src/main.rs b/yjit/bindgen/src/main.rs index 30b4c8b5d7..d00816b3d5 100644 --- a/yjit/bindgen/src/main.rs +++ b/yjit/bindgen/src/main.rs @@ -394,6 +394,7 @@ fn main() { .allowlist_function("rb_get_def_iseq_ptr") .allowlist_function("rb_get_def_bmethod_proc") .allowlist_function("rb_iseq_encoded_size") + .allowlist_function("rb_get_iseq_body_total_calls") .allowlist_function("rb_get_iseq_body_local_iseq") .allowlist_function("rb_get_iseq_body_parent_iseq") .allowlist_function("rb_get_iseq_body_iseq_encoded") |