[前][次][番号順一覧][スレッド一覧]

ruby-changes:51860

From: mame <ko1@a...>
Date: Fri, 27 Jul 2018 15:28:19 +0900 (JST)
Subject: [ruby-changes:51860] mame:r64074 (trunk): insns.def: remove old wrong explanation for get/setconstant

mame	2018-07-27 15:28:14 +0900 (Fri, 27 Jul 2018)

  New Revision: 64074

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=64074

  Log:
    insns.def: remove old wrong explanation for get/setconstant

  Modified files:
    trunk/insns.def
Index: insns.def
===================================================================
--- insns.def	(revision 64073)
+++ insns.def	(revision 64074)
@@ -239,8 +239,7 @@ setclassvariable https://github.com/ruby/ruby/blob/trunk/insns.def#L239
 }
 
 /* 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 https://github.com/ruby/ruby/blob/trunk/insns.def#L251
     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

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]