diff options
author | Takashi Kokubun <takashikkbn@gmail.com> | 2023-07-13 15:14:43 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-07-13 18:14:43 -0400 |
commit | d814722fb8299c4baace3e76447a55a3d5478e3a (patch) | |
tree | 9a2c1ad1a2eec7f7df26ca4deef4a52cddb3750f /yjit/bindgen | |
parent | e850181acf0e68a162c75d47b7a0951ab7d878b1 (diff) | |
download | ruby-d814722fb8299c4baace3e76447a55a3d5478e3a.tar.gz |
YJIT: Make ratio_in_yjit always available (#8064)
Diffstat (limited to 'yjit/bindgen')
-rw-r--r-- | yjit/bindgen/src/main.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/yjit/bindgen/src/main.rs b/yjit/bindgen/src/main.rs index b9bef8e176..30b4c8b5d7 100644 --- a/yjit/bindgen/src/main.rs +++ b/yjit/bindgen/src/main.rs @@ -357,6 +357,9 @@ fn main() { .allowlist_function("rb_ivar_defined") .allowlist_function("rb_ivar_get") + // From internal/vm.h + .allowlist_var("rb_vm_insns_count") + // From include/ruby/internal/intern/vm.h .allowlist_function("rb_get_alloc_func") |