summaryrefslogtreecommitdiff
path: root/insns.def
diff options
context:
space:
mode:
authormame <mame@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-07-27 06:28:14 (GMT)
committermame <mame@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-07-27 06:28:14 (GMT)
commitca494df3e0f4782a931ffb27ea3be8f3d41c2303 (patch)
tree3442aeaa81b3c832b65b18e7ff2f14a9b32b4cdf /insns.def
parent4aa952f678c6c3c64ef4be1fc825c53d3c9ef6ad (diff)
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 2305d20..75f522c 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