[ruby-cvs:71610] mame:r64518 (trunk): iseq.c: add a map from encoded insn to insn data

mame at ruby-lang.org mame at ruby-lang.org
Thu Aug 23 17:32:30 JST 2018


mame	2018-08-23 17:32:30 +0900 (Thu, 23 Aug 2018)

  New Revision: 64518

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

  Log:
    iseq.c: add a map from encoded insn to insn data
    
    This enhances rb_vm_insn_addr2insn which retrieves a decoded insn number
    from encoded insn.
    The insn data table include not only decoded insn number, but also its
    len, trace and non-trace version of encoded insn.
    This table can be used to simplify trace instrumentation.

  Modified files:
    trunk/compile.c
    trunk/eval.c
    trunk/iseq.c
    trunk/vm_core.h


More information about the ruby-cvs mailing list