1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Unfortunately getinstancevariable was still not leaf

https://github.com/ruby/ruby/runs/1533401436
This commit is contained in:
Takashi Kokubun 2020-12-10 14:40:22 -08:00
parent 97868f16ff
commit 6b1d2de6cc
No known key found for this signature in database
GPG key ID: 6FFC433B12EE23DD

View file

@ -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);
}