[ruby-cvs:68766] nobu:r61584 (trunk): compile.c: fix disasm dump

nobu at ruby-lang.org nobu at ruby-lang.org
Thu Jan 4 08:05:02 JST 2018


nobu	2018-01-04 08:05:02 +0900 (Thu, 04 Jan 2018)

  New Revision: 61584

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

  Log:
    compile.c: fix disasm dump
    
    * compile.c (DECL_ANCHOR): initialize as anchor type, which is not
      a valid iseq element.
    
    * compile.c (BADINSN_DUMP): dump from the first element, excluding
      the anchor itself.

  Modified files:
    trunk/compile.c


More information about the ruby-cvs mailing list