aboutsummaryrefslogtreecommitdiffstats
path: root/insns.def
diff options
context:
space:
mode:
authorTakashi Kokubun <takashikkbn@gmail.com>2020-12-10 14:40:22 -0800
committerTakashi Kokubun <takashikkbn@gmail.com>2020-12-10 14:40:29 -0800
commit6b1d2de6cc2e85fda7885fe77dbd7c99c4eb1ef2 (patch)
treed39c9d35946f15e77e83bd12d5396f050e95dba6 /insns.def
parent97868f16ff764e60176e817db101e65c9d58eff3 (diff)
downloadruby-6b1d2de6cc2e85fda7885fe77dbd7c99c4eb1ef2.tar.gz
Unfortunately getinstancevariable was still not leaf
https://github.com/ruby/ruby/runs/1533401436
Diffstat (limited to 'insns.def')
-rw-r--r--insns.def2
1 files changed, 2 insertions, 0 deletions
diff --git a/insns.def b/insns.def
index 2bdb2d5d7a..f912b51c87 100644
--- a/insns.def
+++ b/insns.def
@@ -210,6 +210,8 @@ getinstancevariable
(ID id, IVC ic)
()
(VALUE val)
+/* Ractor crashes when it accesses class/module-level instances variables. */
+// attr bool leaf = false; /* has IVAR_ACCESSOR_SHOULD_BE_MAIN_RACTOR() */
{
val = vm_getinstancevariable(GET_ISEQ(), GET_SELF(), id, ic);
}