diff options
author | Takashi Kokubun <[email protected]> | 2025-03-05 13:47:25 -0800 |
---|---|---|
committer | Takashi Kokubun <[email protected]> | 2025-04-18 21:52:59 +0900 |
commit | 22c73f1ccbe04b1e85ed5977f676f5afd31a2fcc () | |
tree | e8db568d8146a87be4854112ff2b7e13f695e412 /zjit/src/lib.rs | |
parent | bd41935b02c554589d29882d62a3a76c4afe2165 (diff) |
Implement FixnumAdd and stub Point/GuardType (https://.com/Shopify/zjit/pull/30)
* Implement FixnumAdd and stub Point/GuardType Co-authored-by: Max Bernstein <[email protected]> Co-authored-by: Maxime Chevalier-Boisvert <[email protected]> * Clone Target for arm64 * Use $create instead of use create Co-authored-by: Alan Wu <[email protected]> * Fix misindentation from suggested changes * Drop an unneeded variable for mut * Load operand into a register only if necessary --------- Co-authored-by: Max Bernstein <[email protected]> Co-authored-by: Maxime Chevalier-Boisvert <[email protected]> Co-authored-by: Alan Wu <[email protected]>
Notes: Merged: https://.com/ruby/ruby/pull/13131
-rw-r--r-- | zjit/src/lib.rs | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -19,6 +19,7 @@ mod backend; mod disasm; mod options; mod profile; use codegen::gen_function; use options::{debug, get_option, Options}; @@ -29,6 +30,11 @@ use crate::cruby::*; #[unsafe(no_mangle)] pub static mut rb_zjit_enabled_p: bool = false; /// Initialize ZJIT, given options allocated by rb_zjit_init_options() #[unsafe(no_mangle)] pub extern "C" fn rb_zjit_init(options: *const u8) { |