From e1fee7f949cb6719122672fa1081c60984a5339f Mon Sep 17 00:00:00 2001 From: Takashi Kokubun Date: Wed, 13 Jan 2021 22:36:45 -0800 Subject: Rename RubyVM::MJIT to RubyVM::JIT because the name "MJIT" is an internal code name, it's inconsistent with --jit while they are related to each other, and I want to discourage future JIT implementation-specific (e.g. MJIT-specific) APIs by this rename. [Feature #17490] --- test/lib/jit_support.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/lib') diff --git a/test/lib/jit_support.rb b/test/lib/jit_support.rb index 2f6d637ec9..3bca63a549 100644 --- a/test/lib/jit_support.rb +++ b/test/lib/jit_support.rb @@ -74,7 +74,7 @@ module JITSupport end def remove_mjit_logs(stderr) - if defined?(RubyVM::MJIT) && RubyVM::MJIT.enabled? # utility for -DFORCE_MJIT_ENABLE + if defined?(RubyVM::JIT) && RubyVM::JIT.enabled? # utility for -DFORCE_MJIT_ENABLE stderr.gsub(/^MJIT warning: Skipped to compile unsupported instruction: \w+\n/m, '') else stderr -- cgit v1.2.3