From 6be4e065eb2ff2bb25cd88de4f41fac20e693f37 Mon Sep 17 00:00:00 2001 From: Takashi Kokubun Date: Wed, 8 Feb 2023 09:30:47 -0800 Subject: Support SP motion in all insns --- bootstraptest/test_mjit.rb | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'bootstraptest') diff --git a/bootstraptest/test_mjit.rb b/bootstraptest/test_mjit.rb index 420b15aa19..c00c742318 100644 --- a/bootstraptest/test_mjit.rb +++ b/bootstraptest/test_mjit.rb @@ -8,3 +8,9 @@ assert_equal 'true', %q{ lt(1, 2) lt('a', 'b') } + +assert_equal '3', %q{ + def foo = 2 + def bar = 1 + foo + nil.to_i + bar +} -- cgit v1.2.3