[ruby-cvs:59497] ko1:r52346 (trunk): * gc.c: introduce rb_wb_unprotected_newobj_of() and

ko1 at ruby-lang.org ko1 at ruby-lang.org
Thu Oct 29 16:26:46 JST 2015


ko1	2015-10-29 16:26:44 +0900 (Thu, 29 Oct 2015)

  New Revision: 52346

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

  Log:
    * gc.c: introduce rb_wb_unprotected_newobj_of() and
      rb_wb_protected_newobj_of(), pass the WB_PROTECTED
      information explicitly.
    
    * internal.h: use introduced functions by NEWOBJ_OF().
      `flag' is immediate value, so that C compilers can
      solve them at compile time.
    
    * include/ruby/ruby.h: add a commnent about that.

  Modified files:
    trunk/ChangeLog
    trunk/gc.c
    trunk/include/ruby/ruby.h
    trunk/internal.h


More information about the ruby-cvs mailing list