[ruby-cvs:68604] k0kubun:r61423 (trunk): iseq.c: show first_lineno on iseq inspect

k0kubun at ruby-lang.org k0kubun at ruby-lang.org
Sat Dec 23 18:10:34 JST 2017


k0kubun	2017-12-23 18:10:34 +0900 (Sat, 23 Dec 2017)

  New Revision: 61423

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

  Log:
    iseq.c: show first_lineno on iseq inspect
    
    My motivation was to improve the output of `ruby --dump=insns xxx.rb`.
    When one file has many iseqs, it's hard to find the one I want to read.
    
    So I wanted `iseq_disasm` to show first_lineno. I unified the behavior
    of `iseqw_disasm` for consistency.

  Modified files:
    trunk/iseq.c


More information about the ruby-cvs mailing list