[ruby-cvs:67829] mame:r60648 (trunk): gc.c (rb_free_tmp_buffer): stop accessing imemo_alloc as NODE

mame at ruby-lang.org mame at ruby-lang.org
Sat Nov 4 22:31:47 JST 2017


mame	2017-11-04 22:31:47 +0900 (Sat, 04 Nov 2017)

  New Revision: 60648

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

  Log:
    gc.c (rb_free_tmp_buffer): stop accessing imemo_alloc as NODE
    
    The fields of imemo_alloc were accessed via RNODE() cast, since the
    imemo was NODE_ALLOCA traditionally.  This was refactored at r60239,
    so now the fields should be accessed as imemo_alloc.  This prevented
    change of NODE structure.
    
    Yuichiro Kaneko pointed out this inconsistency.  Thanks!

  Modified files:
    trunk/gc.c


More information about the ruby-cvs mailing list