summaryrefslogtreecommitdiff
path: root/yjit/bindgen
diff options
context:
space:
mode:
authorTakashi Kokubun <takashikkbn@gmail.com>2023-04-05 13:19:31 -0700
committerGitHub <noreply@github.com>2023-04-05 13:19:31 -0700
commit1587494b0b5f64a9976dcf0bd94dfe98123c2c27 (patch)
treecde249ed1d85312a98de6b7e26bb80bdce2e44f8 /yjit/bindgen
parent52e571fa72debcd764765775bd1b76ee87e36d2d (diff)
downloadruby-1587494b0b5f64a9976dcf0bd94dfe98123c2c27.tar.gz
YJIT: Add codegen for Integer methods (#7665)
* YJIT: Add codegen for Integer methods * YJIT: Update dependencies * YJIT: Fix Integer#[] for argc=2
Diffstat (limited to 'yjit/bindgen')
-rw-r--r--yjit/bindgen/src/main.rs7
1 files changed, 6 insertions, 1 deletions
diff --git a/yjit/bindgen/src/main.rs b/yjit/bindgen/src/main.rs
index 6d915ec411..4fb02cfdf0 100644
--- a/yjit/bindgen/src/main.rs
+++ b/yjit/bindgen/src/main.rs
@@ -213,6 +213,9 @@ fn main() {
.allowlist_function("rb_sym2id")
.allowlist_function("rb_str_intern")
+ // From internal/numeric.h
+ .allowlist_function("rb_fix_aref")
+
// From internal/string.h
.allowlist_function("rb_ec_str_resurrect")
.allowlist_function("rb_str_concat_literals")
@@ -413,7 +416,9 @@ fn main() {
.allowlist_function("rb_yarv_str_eql_internal")
.allowlist_function("rb_str_neq_internal")
.allowlist_function("rb_yarv_ary_entry_internal")
- .allowlist_function("rb_yarv_fix_mod_fix")
+ .allowlist_function("rb_yjit_fix_div_fix")
+ .allowlist_function("rb_yjit_fix_mod_fix")
+ .allowlist_function("rb_yjit_fix_mul_fix")
.allowlist_function("rb_FL_TEST")
.allowlist_function("rb_FL_TEST_RAW")
.allowlist_function("rb_RB_TYPE_P")