From dea42385440c7abc332d8fda04dbec0f33364baa Mon Sep 17 00:00:00 2001 From: Zack Deveau Date: Tue, 2 Aug 2022 13:09:51 -0400 Subject: Port gen_concatstring to new backend IR (https://github.com/Shopify/ruby/pull/350) * Port gen_concatstring to new backend IR * Update yjit/src/codegen.rs Co-authored-by: Maxime Chevalier-Boisvert --- bootstraptest/test_yjit.rb | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'bootstraptest') diff --git a/bootstraptest/test_yjit.rb b/bootstraptest/test_yjit.rb index b8374746f7..2409306106 100644 --- a/bootstraptest/test_yjit.rb +++ b/bootstraptest/test_yjit.rb @@ -3103,3 +3103,11 @@ assert_equal '/true/', %q{ end foo().inspect } + +# concatstrings +assert_equal '9001', %q{ + def foo() + "#{9001}" + end + foo() +} -- cgit v1.2.3