[ruby-cvs:67944] ko1:r60763 (trunk): remove `trace` instruction. [Feature #14104]

ko1 at ruby-lang.org ko1 at ruby-lang.org
Tue Nov 14 21:58:36 JST 2017


ko1	2017-11-14 21:58:36 +0900 (Tue, 14 Nov 2017)

  New Revision: 60763

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

  Log:
    remove `trace` instruction. [Feature #14104]
    
    * tool/instruction.rb: create `trace_` prefix instructions.
    
    * compile.c (ADD_TRACE): do not add `trace` instructions but add
      TRACE link elements. TRACE elements will be unified with a next
      instruction as instruction information.
    
    * vm_trace.c (update_global_event_hook): modify all ISeqs when
      hooks are enabled.
    
    * iseq.c (rb_iseq_trace_set): added to toggle `trace_` instructions.
    
    * vm_insnhelper.c (vm_trace): added.
      This function is a body of `trace_` prefix instructions.
    
    * vm_insnhelper.h (JUMP): save PC to a control frame.
    
    * insns.def (trace): removed.
    
    * vm_exec.h (INSN_ENTRY_SIG): add debug output (disabled).

  Modified files:
    trunk/NEWS
    trunk/common.mk
    trunk/compile.c
    trunk/insns.def
    trunk/iseq.c
    trunk/iseq.h
    trunk/test/ruby/test_settracefunc.rb
    trunk/tool/instruction.rb
    trunk/vm_backtrace.c
    trunk/vm_exec.h
    trunk/vm_insnhelper.c
    trunk/vm_insnhelper.h
    trunk/vm_trace.c


More information about the ruby-cvs mailing list