Make getinstancevariable a leaf instruction
It can no longer issue a warning.
This commit is contained in:
parent
01b7d5acc7
commit
699608487d
Notes:
git
2020-12-11 03:16:29 +09:00
@ -210,8 +210,6 @@ getinstancevariable
|
|||||||
(ID id, IVC ic)
|
(ID id, IVC ic)
|
||||||
()
|
()
|
||||||
(VALUE val)
|
(VALUE val)
|
||||||
/* "instance variable not initialized" warning can be hooked. */
|
|
||||||
// attr bool leaf = false; /* has rb_warning() */
|
|
||||||
{
|
{
|
||||||
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