[ruby-cvs:64987] normal:r57821 (trunk): ext/socket/raddrinfo.c (addrinfo_mark): avoid needless branch

normal at ruby-lang.org normal at ruby-lang.org
Thu Mar 9 12:49:47 JST 2017


normal	2017-03-09 12:49:47 +0900 (Thu, 09 Mar 2017)

  New Revision: 57821

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

  Log:
    ext/socket/raddrinfo.c (addrinfo_mark): avoid needless branch
    
    gc.c (gc_mark_children, case T_DATA) does not use
    the dmark function pointer if DATA_PTR is NULL

  Modified files:
    trunk/ext/socket/raddrinfo.c


More information about the ruby-cvs mailing list