From ca494df3e0f4782a931ffb27ea3be8f3d41c2303 Mon Sep 17 00:00:00 2001 From: mame Date: Fri, 27 Jul 2018 06:28:14 +0000 Subject: [PATCH] insns.def: remove old wrong explanation for get/setconstant git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64074 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- insns.def | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/insns.def b/insns.def index 2305d20803..75f522cd9b 100644 --- a/insns.def +++ b/insns.def @@ -239,8 +239,7 @@ setclassvariable } /* Get constant variable id. If klass is Qnil, constants - are searched in the current scope. If klass is Qfalse, constants - are searched as top level constants. Otherwise, get constant under klass + are searched in the current scope. Otherwise, get constant under klass class or module. */ DEFINE_INSN @@ -252,10 +251,7 @@ getconstant val = vm_get_ev_const(ec, klass, id, 0); } -/* Set constant variable id. If klass is Qfalse, constant - is able to access in this scope. if klass is Qnil, set - top level constant. otherwise, set constant under klass - class or module. +/* Set constant variable id under cbase class or module. */ DEFINE_INSN setconstant