diff options
author | Takashi Kokubun <takashikkbn@gmail.com> | 2023-03-14 15:38:58 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-14 15:38:58 -0700 |
commit | 70ba3102129dbaf6c943d1ed042103e0238842f4 (patch) | |
tree | e0337226448cc96979a9cd382b7f22997c36d387 /yjit/bindgen | |
parent | 868f03cce1a2d7a4df9b03b8338e3af4c69041d0 (diff) | |
download | ruby-70ba3102129dbaf6c943d1ed042103e0238842f4.tar.gz |
YJIT: Introduce no_gc attribute (#7511)
Diffstat (limited to 'yjit/bindgen')
-rw-r--r-- | yjit/bindgen/src/main.rs | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/yjit/bindgen/src/main.rs b/yjit/bindgen/src/main.rs index 031573621f..bf762c1401 100644 --- a/yjit/bindgen/src/main.rs +++ b/yjit/bindgen/src/main.rs @@ -286,6 +286,7 @@ fn main() { .allowlist_var("VM_ENV_DATA_INDEX_FLAGS") .allowlist_var("VM_ENV_DATA_SIZE") .allowlist_function("rb_iseq_path") + .allowlist_type("rb_builtin_attr") // From yjit.c .allowlist_function("rb_iseq_(get|set)_yjit_payload") @@ -296,8 +297,8 @@ fn main() { .allowlist_function("rb_yjit_mark_executable") .allowlist_function("rb_yjit_mark_unused") .allowlist_function("rb_yjit_get_page_size") - .allowlist_function("rb_leaf_invokebuiltin_iseq_p") - .allowlist_function("rb_leaf_builtin_function") + .allowlist_function("rb_yjit_iseq_builtin_attrs") + .allowlist_function("rb_yjit_builtin_function") .allowlist_function("rb_set_cfp_(pc|sp)") .allowlist_function("rb_cfp_get_iseq") .allowlist_function("rb_yjit_multi_ractor_p") |