ruby-changes:50268
From: nobu <ko1@a...>
Date: Mon, 12 Feb 2018 18:02:35 +0900 (JST)
Subject: [ruby-changes:50268] nobu:r62386 (trunk): use <<- instead of <<~ for older baseruby
nobu 2018-02-12 18:02:30 +0900 (Mon, 12 Feb 2018) New Revision: 62386 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=62386 Log: use <<- instead of <<~ for older baseruby Modified files: trunk/tool/ruby_vm/views/_mjit_compile_insn_body.erb Index: tool/ruby_vm/views/_mjit_compile_insn_body.erb =================================================================== --- tool/ruby_vm/views/_mjit_compile_insn_body.erb (revision 62385) +++ tool/ruby_vm/views/_mjit_compile_insn_body.erb (revision 62386) @@ -23,7 +23,7 @@ https://github.com/ruby/ruby/blob/trunk/tool/ruby_vm/views/_mjit_compile_insn_body.erb#L23 % # For `leave`. We can't proceed next ISeq in the same JIT function. % expr.gsub!(/^(?<indent>\s*)RESTORE_REGS\(\);\n/) do % indent = Regexp.last_match[:indent] -% <<~RESTORE_REGS +% <<-RESTORE_REGS.gsub(/^ +/, '') % #if OPT_CALL_THREADED_CODE % #{indent}rb_ec_thread_ptr(ec)->retval = val; % #{indent}return 0; -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/