aboutsummaryrefslogtreecommitdiffstats
path: root/insns.def
diff options
context:
space:
mode:
authorJeremy Evans <code@jeremyevans.net>2020-12-10 07:36:55 -0800
committerJeremy Evans <code@jeremyevans.net>2020-12-10 10:16:05 -0800
commit699608487d2ff09bb5c610a9d1e6e13f5bd2a25e (patch)
tree6b98c20031740b4eb0093b868afff8b1e80403e8 /insns.def
parent01b7d5acc702df22d306ae95f1a9c3096e63e624 (diff)
downloadruby-699608487d2ff09bb5c610a9d1e6e13f5bd2a25e.tar.gz
Make getinstancevariable a leaf instruction
It can no longer issue a warning.
Diffstat (limited to 'insns.def')
-rw-r--r--insns.def2
1 files changed, 0 insertions, 2 deletions
diff --git a/insns.def b/insns.def
index e39037c039..2bdb2d5d7a 100644
--- a/insns.def
+++ b/insns.def
@@ -210,8 +210,6 @@ getinstancevariable
(ID id, IVC ic)
()
(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);
}