summaryrefslogtreecommitdiff
path: root/yjit/bindgen/src
diff options
context:
space:
mode:
authorTakashi Kokubun <takashikkbn@gmail.com>2024-01-31 09:58:47 -0800
committerGitHub <noreply@github.com>2024-01-31 17:58:47 +0000
commit09427f51a23724fa8ee04ecb94d306add917d0b0 (patch)
tree14c54c2644ee830f4ce2600fc96f4936970d4393 /yjit/bindgen/src
parentcc9bbbdd80f04fd924be3d6e6302e1a6c57283e2 (diff)
YJIT: Add codegen for Float arithmetics (#9774)
* YJIT: Add codegen for Float arithmetics * Add Flonum and Fixnum tests
Diffstat (limited to 'yjit/bindgen/src')
-rw-r--r--yjit/bindgen/src/main.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/yjit/bindgen/src/main.rs b/yjit/bindgen/src/main.rs
index 2c264287bc..a09ab068cb 100644
--- a/yjit/bindgen/src/main.rs
+++ b/yjit/bindgen/src/main.rs
@@ -217,6 +217,10 @@ fn main() {
// From internal/numeric.h
.allowlist_function("rb_fix_aref")
+ .allowlist_function("rb_float_plus")
+ .allowlist_function("rb_float_minus")
+ .allowlist_function("rb_float_mul")
+ .allowlist_function("rb_float_div")
// From internal/string.h
.allowlist_function("rb_ec_str_resurrect")