Unfortunately getinstancevariable was still not leaf
https://github.com/ruby/ruby/runs/1533401436
This commit is contained in:
parent
97868f16ff
commit
6b1d2de6cc
@ -210,6 +210,8 @@ getinstancevariable
|
|||||||
(ID id, IVC ic)
|
(ID id, IVC ic)
|
||||||
()
|
()
|
||||||
(VALUE val)
|
(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);
|
val = vm_getinstancevariable(GET_ISEQ(), GET_SELF(), id, ic);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user