mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
insns.def: opt_regexpmatch2 is not a leaf insn
related: r66982 Sadly opt_regexpmatch2 was not a leaf insn either. http://ci.rvm.jp/results/trunk-vm-asserts@silicon-docker/1751213 CHECK_INTERRUPT_IN_MATCH_AT is just like RUBY_VM_CHECK_INTS, and it may call arbitrary Ruby method, for example a GC finalizer from postponed job in this case. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67091 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
fe0f98e747
commit
193a06caf5
1 changed files with 1 additions and 0 deletions
|
@ -1432,6 +1432,7 @@ opt_regexpmatch2
|
|||
(CALL_INFO ci, CALL_CACHE cc)
|
||||
(VALUE obj2, VALUE obj1)
|
||||
(VALUE val)
|
||||
// attr bool leaf = false; /* match_at() has rb_thread_check_ints() */
|
||||
{
|
||||
val = vm_opt_regexpmatch2(obj2, obj1);
|
||||
|
||||
|
|
Loading…
Reference in a new issue