diff options
author | Takashi Kokubun <takashikkbn@gmail.com> | 2023-07-04 12:57:32 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-07-04 15:57:32 -0400 |
commit | a1d4dada6b99f7762d2a4adcd3784bd63d3a2fd2 (patch) | |
tree | fe4a2af6ebe24198ee4051004fb16e6dcf9cdda1 /bootstraptest/test_yjit.rb | |
parent | f6af5a1128754bdac07b8cf3c41a7397f113a130 (diff) | |
download | ruby-a1d4dada6b99f7762d2a4adcd3784bd63d3a2fd2.tar.gz |
YJIT: Break register cycles for C arguments (take 2) (#8018)
* Revert "Revert "YJIT: Break register cycles for C arguments (#7918)""
This reverts commit 78ca085785460de46bfc4851a898d525c1698ef8.
* Use shfited_live_ranges for the last-insn check
Diffstat (limited to 'bootstraptest/test_yjit.rb')
-rw-r--r-- | bootstraptest/test_yjit.rb | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/bootstraptest/test_yjit.rb b/bootstraptest/test_yjit.rb index 8be24cfdb4..402b5c512a 100644 --- a/bootstraptest/test_yjit.rb +++ b/bootstraptest/test_yjit.rb @@ -3973,3 +3973,11 @@ assert_equal 'true', %q{ true end } unless defined?(RubyVM::RJIT) && RubyVM::RJIT.enabled? # Not yet working on RJIT + +# Regresssion test: register allocator on expandarray +assert_equal '[]', %q{ + func = proc { [] } + proc do + _x, _y = func.call + end.call +} |