diff options
author | Takashi Kokubun <takashikkbn@gmail.com> | 2024-01-31 09:58:47 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-31 17:58:47 +0000 |
commit | 09427f51a23724fa8ee04ecb94d306add917d0b0 (patch) | |
tree | 14c54c2644ee830f4ce2600fc96f4936970d4393 /yjit/bindgen | |
parent | cc9bbbdd80f04fd924be3d6e6302e1a6c57283e2 (diff) | |
download | ruby-09427f51a23724fa8ee04ecb94d306add917d0b0.tar.gz |
YJIT: Add codegen for Float arithmetics (#9774)
* YJIT: Add codegen for Float arithmetics
* Add Flonum and Fixnum tests
Diffstat (limited to 'yjit/bindgen')
-rw-r--r-- | yjit/bindgen/src/main.rs | 4 |
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") |