aboutsummaryrefslogtreecommitdiffstats
path: root/insns.def
diff options
context:
space:
mode:
authormame <mame@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-07-27 06:28:14 +0000
committermame <mame@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-07-27 06:28:14 +0000
commitf4655bf86c07013625e2d823e2d155ff22b46ecb (patch)
tree3442aeaa81b3c832b65b18e7ff2f14a9b32b4cdf /insns.def
parent500612bbeb6077bc07ab59b752937aa7c810915c (diff)
downloadruby-f4655bf86c07013625e2d823e2d155ff22b46ecb.tar.gz
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
Diffstat (limited to 'insns.def')
-rw-r--r--insns.def8
1 files 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