[ruby-cvs:53610] ko1:r46464 (trunk): * vm.c (invoke_block_from_c): move call/return event timing for

ko1 at ruby-lang.org ko1 at ruby-lang.org
Thu Jun 19 19:49:47 JST 2014


ko1	2014-06-19 19:49:46 +0900 (Thu, 19 Jun 2014)

  New Revision: 46464

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

  Log:
    * vm.c (invoke_block_from_c): move call/return event timing for
      bmethod. It can invoke inconsistent call event if this call raises
      argument error.
      [Bug #9959]
    * vm_insnhelper.c (vm_call_bmethod_body): ditto.
    * test/ruby/test_settracefunc.rb: add a test.

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


More information about the ruby-cvs mailing list