diff options
author | k0kubun <k0kubun@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2019-02-19 15:39:35 +0000 |
---|---|---|
committer | k0kubun <k0kubun@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2019-02-19 15:39:35 +0000 |
commit | 193a06caf5b1fdbe9b4c6110314df03cab7145f5 (patch) | |
tree | de0afddaf406985e28651c34ba7373df078043e0 | |
parent | fe0f98e74746654c6b8bdd5203733ad01c732bde (diff) | |
download | ruby-193a06caf5b1fdbe9b4c6110314df03cab7145f5.tar.gz |
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
-rw-r--r-- | insns.def | 1 |
1 files changed, 1 insertions, 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); |