зеркало из https://github.com/github/ruby.git
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
This commit is contained in:
Родитель
4aa952f678
Коммит
ca494df3e0
|
@ -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
|
||||
|
|
Загрузка…
Ссылка в новой задаче