ruby-changes:55346
From: k0kubun <ko1@a...>
Date: Sun, 14 Apr 2019 22:29:29 +0900 (JST)
Subject: [ruby-changes:55346] k0kubun:r67554 (trunk): Do not require Ruby 2.4 for baseruby
k0kubun 2019-04-14 22:29:22 +0900 (Sun, 14 Apr 2019) New Revision: 67554 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=67554 Log: Do not require Ruby 2.4 for baseruby Modified files: trunk/tool/ruby_vm/views/mjit_compile.inc.erb Index: tool/ruby_vm/views/mjit_compile.inc.erb =================================================================== --- tool/ruby_vm/views/mjit_compile.inc.erb (revision 67553) +++ tool/ruby_vm/views/mjit_compile.inc.erb (revision 67554) @@ -28,7 +28,7 @@ https://github.com/ruby/ruby/blob/trunk/tool/ruby_vm/views/mjit_compile.inc.erb#L28 % % 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: -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/