From 193a06caf5b1fdbe9b4c6110314df03cab7145f5 Mon Sep 17 00:00:00 2001 From: k0kubun Date: Tue, 19 Feb 2019 15:39:35 +0000 Subject: 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 --- insns.def | 1 + 1 file changed, 1 insertion(+) (limited to 'insns.def') diff --git a/insns.def b/insns.def index 5422bde4b2..dac2f6f276 100644 --- a/insns.def +++ b/insns.def @@ -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); -- cgit v1.2.3