[ruby-cvs:54417] normal:r47269 (trunk): rb_iseq_location_t: change first_lineno type to VALUE

normal at ruby-lang.org normal at ruby-lang.org
Mon Aug 25 11:24:12 JST 2014


normal	2014-08-25 11:24:10 +0900 (Mon, 25 Aug 2014)

  New Revision: 47269

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

  Log:
    rb_iseq_location_t: change first_lineno type to VALUE
    
    Nearly all current uses of iseq->location.first_lineno are as a
    VALUE, not a size_t.  The only exception was the experimental
    (and currently unused) rb_iseq_build_for_ruby2cext function.
    
    * vm_core.h (rb_iseq_location_t): change first_lineno type to VALUE
    * iseq.c (rb_iseq_build_for_ruby2cext): update based on argument

  Modified files:
    trunk/ChangeLog
    trunk/iseq.c
    trunk/vm_core.h


More information about the ruby-cvs mailing list