summaryrefslogtreecommitdiff
path: root/test/ruby
diff options
context:
space:
mode:
authorTakashi Kokubun <takashikkbn@gmail.com>2023-09-29 18:55:48 -0700
committerGitHub <noreply@github.com>2023-09-29 21:55:48 -0400
commit0b67e3fd3ee9969a0c92867bec365104f2b43897 (patch)
treee62dd1b49e3bf16cd0346efad2f43fab220bb671 /test/ruby
parentf9f728e804367ac8de4709884fec64c13a7cff54 (diff)
YJIT: Chain-guard opt_mult overflow (#8554)
* YJIT: Chain-guard opt_mult overflow * YJIT: Support regenerating Jo after Mul
Diffstat (limited to 'test/ruby')
-rw-r--r--test/ruby/test_yjit.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/ruby/test_yjit.rb b/test/ruby/test_yjit.rb
index cc9507aff4..029ac3ca88 100644
--- a/test/ruby/test_yjit.rb
+++ b/test/ruby/test_yjit.rb
@@ -1347,6 +1347,10 @@ class TestYJIT < Test::Unit::TestCase
RUBY
end
+ def test_opt_mult_overflow
+ assert_no_exits('0xfff_ffff_ffff_ffff * 0x10')
+ end
+
private
def code_gc_helpers