summaryrefslogtreecommitdiff
path: root/test/ruby/test_optimization.rb
diff options
context:
space:
mode:
authorTakashi Kokubun <takashikkbn@gmail.com>2021-12-13 23:07:46 -0800
committerGitHub <noreply@github.com>2021-12-13 23:07:46 -0800
commit1a63468831524f68e73cbb068071652c6486cfc6 (patch)
tree37cb7808878786d426815c6b137da9ee2ca08e29 /test/ruby/test_optimization.rb
parenta2839d717874a277da1d553336a409164fa833ad (diff)
downloadruby-1a63468831524f68e73cbb068071652c6486cfc6.tar.gz
Prepare for removing RubyVM::JIT (#5262)
Diffstat (limited to 'test/ruby/test_optimization.rb')
-rw-r--r--test/ruby/test_optimization.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/ruby/test_optimization.rb b/test/ruby/test_optimization.rb
index a834996788..43795d150c 100644
--- a/test/ruby/test_optimization.rb
+++ b/test/ruby/test_optimization.rb
@@ -510,7 +510,7 @@ class TestRubyOptimization < Test::Unit::TestCase
end
def test_tailcall_not_to_grow_stack
- skip 'currently JIT-ed code always creates a new stack frame' if defined?(RubyVM::JIT) && RubyVM::JIT.enabled?
+ skip 'currently JIT-ed code always creates a new stack frame' if defined?(RubyVM::MJIT) && RubyVM::MJIT.enabled?
bug16161 = '[ruby-core:94881]'
tailcall("#{<<-"begin;"}\n#{<<~"end;"}")