[ruby-cvs:55904] nobu:r48754 (trunk): struct.c: use iseqval

nobu at ruby-lang.org nobu at ruby-lang.org
Wed Dec 10 13:39:32 JST 2014


nobu	2014-12-10 13:39:29 +0900 (Wed, 10 Dec 2014)

  New Revision: 48754

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

  Log:
    struct.c: use iseqval
    
    * struct.c (define_aref_method, define_aset_method): use iseq
      VALUE instead of rb_iseq_t to prevent from GC, as RB_GC_GUARD
      makes sense only for local variables.  [Feature #10575]

  Modified files:
    trunk/ChangeLog
    trunk/iseq.c
    trunk/struct.c


More information about the ruby-cvs mailing list