diff options
author | Maxime Chevalier-Boisvert <maxime.chevalierboisvert@shopify.com> | 2023-07-27 17:47:29 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-07-27 17:47:29 -0400 |
commit | 5669a28fde3b767953b5a7d6e63cd8e53f0185eb (patch) | |
tree | 9c848ce29d379a94facf3356d16c7113d6f86704 /yjit/src/stats.rs | |
parent | 83f9d80c0b0b7752e490abb45145073d8d0e656d (diff) | |
download | ruby-5669a28fde3b767953b5a7d6e63cd8e53f0185eb.tar.gz |
YJIT: implement missing `asm.jg` instruction in backend (#8130)
YJIT: implement missing jg instruction in backend
While trying to implement a specialize integer left shift, I ran
into a problem where we have no way to do a greater-than comparison
at the moment. Surprising we went this far without ever needing it.
Diffstat (limited to 'yjit/src/stats.rs')
-rw-r--r-- | yjit/src/stats.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/yjit/src/stats.rs b/yjit/src/stats.rs index 5da15198b1..b1773df359 100644 --- a/yjit/src/stats.rs +++ b/yjit/src/stats.rs @@ -335,6 +335,9 @@ make_counters! { opt_mod_zero, opt_div_zero, + lshift_range, + lshift_overflow, + opt_aref_argc_not_one, opt_aref_arg_not_fixnum, opt_aref_not_array, |