From ead870d7c3b95bc51bd404541e087352ed7bf464 Mon Sep 17 00:00:00 2001 From: k0kubun Date: Sun, 14 Apr 2019 13:29:22 +0000 Subject: [PATCH] Do not require Ruby 2.4 for baseruby git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67554 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- tool/ruby_vm/views/mjit_compile.inc.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tool/ruby_vm/views/mjit_compile.inc.erb b/tool/ruby_vm/views/mjit_compile.inc.erb index 0f74b47f20..a3e29116cf 100644 --- a/tool/ruby_vm/views/mjit_compile.inc.erb +++ b/tool/ruby_vm/views/mjit_compile.inc.erb @@ -28,7 +28,7 @@ % % send_compatible_opt_insns = RubyVM::BareInstructions.to_a.select do |insn| % insn.name.start_with?('opt_') && opt_send_without_block.opes == insn.opes && -% insn.expr.expr.lines.any? { |l| l.match?(/\A\s+CALL_SIMPLE_METHOD\(\);\s+\z/) } +% insn.expr.expr.lines.any? { |l| l.match(/\A\s+CALL_SIMPLE_METHOD\(\);\s+\z/) } % end.map(&:name) % % # Available variables and macros in JIT-ed function: