summaryrefslogtreecommitdiff
path: root/test/lib
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/lib
parenta2839d717874a277da1d553336a409164fa833ad (diff)
Prepare for removing RubyVM::JIT (#5262)
Notes
Notes: Merged-By: k0kubun <takashikkbn@gmail.com>
Diffstat (limited to 'test/lib')
-rw-r--r--test/lib/jit_support.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/lib/jit_support.rb b/test/lib/jit_support.rb
index b66987fe92..6ad68f75be 100644
--- a/test/lib/jit_support.rb
+++ b/test/lib/jit_support.rb
@@ -75,7 +75,7 @@ module JITSupport
end
def remove_mjit_logs(stderr)
- if defined?(RubyVM::JIT) && RubyVM::JIT.enabled? # utility for -DFORCE_MJIT_ENABLE
+ if defined?(RubyVM::MJIT) && RubyVM::MJIT.enabled? # utility for -DFORCE_MJIT_ENABLE
stderr.gsub(/^MJIT warning: Skipped to compile unsupported instruction: \w+\n/m, '')
else
stderr