[ruby-cvs:67918] mame:r60737 (trunk): Make `rb_ast_dispose` use `RB_OBJ_WRITE`

mame at ruby-lang.org mame at ruby-lang.org
Fri Nov 10 22:46:38 JST 2017

mame	2017-11-10 22:46:38 +0900 (Fri, 10 Nov 2017)

  New Revision: 60737


    Make `rb_ast_dispose` use `RB_OBJ_WRITE`
    This fixes the mistake of r60722.
    I used `rb_gc_writebarrier_remember` to notify to GC that the references
    is changed.  But the function just adds the object to the remember set
    blindly.  Ko1 told me that `RB_OBJ_WRITE` is suitable in this case.

  Modified files:

More information about the ruby-cvs mailing list