diff options
author | Takashi Kokubun <takashikkbn@gmail.com> | 2023-02-08 09:30:47 -0800 |
---|---|---|
committer | Takashi Kokubun <takashikkbn@gmail.com> | 2023-03-05 22:11:20 -0800 |
commit | 6be4e065eb2ff2bb25cd88de4f41fac20e693f37 (patch) | |
tree | b0d5e97a6560542af16412e2ed4ec7b3a5527f0e /bootstraptest | |
parent | d332c6ee126870aa3413de8d96e493b527559181 (diff) |
Support SP motion in all insns
Diffstat (limited to 'bootstraptest')
-rw-r--r-- | bootstraptest/test_mjit.rb | 6 |
1 files changed, 6 insertions, 0 deletions
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 +} |