[ruby-cvs:52904] ko1:r45758 (trunk): * vm.c (invoke_block_from_c): add VM_FRAME_FLAG_BMETHOD to record

ko1 at ruby-lang.org ko1 at ruby-lang.org
Wed Apr 30 18:08:11 JST 2014


ko1	2014-04-30 18:08:10 +0900 (Wed, 30 Apr 2014)

  New Revision: 45758

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

  Log:
    * vm.c (invoke_block_from_c): add VM_FRAME_FLAG_BMETHOD to record
      it is bmethod frame.
    * vm.c (vm_exec): invoke RUBY_EVENT_RETURN event if rollbacked frame
      is VM_FRAME_FLAG_BMETHOD.
      [Bug #9759]
    * test/ruby/test_settracefunc.rb: add a test for TracePoint/set_trace_func.
    * vm_core.h: renmae rb_thread_t::passed_me to
      rb_thread_t::passed_bmethod_me to clarify the usage.
    * vm_insnhelper.c (vm_call_bmethod_body): use renamed member.

  Modified files:
    trunk/ChangeLog
    trunk/test/ruby/test_settracefunc.rb
    trunk/vm.c
    trunk/vm_core.h
    trunk/vm_insnhelper.c


More information about the ruby-cvs mailing list