[ruby-cvs:58729] normal:r51581 (trunk): iseq.c (rb_iseq_mark): reduce NULL checks

normal at ruby-lang.org normal at ruby-lang.org
Sat Aug 15 04:23:05 JST 2015


normal	2015-08-15 04:23:02 +0900 (Sat, 15 Aug 2015)

  New Revision: 51581

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

  Log:
    iseq.c (rb_iseq_mark): reduce NULL checks
    
    iseq_location_setup always sets path, label and base_label fields,
    and the only caller of iseq_location_setup (prepare_iseq_build) will
    always pass non-nil `name' and `path' arguments.

  Modified files:
    trunk/ChangeLog
    trunk/iseq.c


More information about the ruby-cvs mailing list