[ruby-cvs:67903] mame:r60722 (trunk): use `rb_ast_dispose` instead of `rb_ast_free`

mame at ruby-lang.org mame at ruby-lang.org
Thu Nov 9 10:32:11 JST 2017


mame	2017-11-09 10:32:11 +0900 (Thu, 09 Nov 2017)

  New Revision: 60722

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

  Log:
    use `rb_ast_dispose` instead of `rb_ast_free`
    
    `rb_ast_dispose` calls `rb_gc_writebarrier_remember`.  Unless we call
    it, the marked objects may not be GC'ed until `rb_ast_t` is GC'ed.

  Modified files:
    trunk/parse.y


More information about the ruby-cvs mailing list