[ruby-cvs:56416] ktsj:r49266 (trunk): * eval_intern.h, vm.c, vm_eval.c, vm_insnhelper.c:

ktsj at ruby-lang.org ktsj at ruby-lang.org
Fri Jan 16 11:54:23 JST 2015


ktsj	2015-01-16 11:54:22 +0900 (Fri, 16 Jan 2015)

  New Revision: 49266

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

  Log:
    * eval_intern.h, vm.c, vm_eval.c, vm_insnhelper.c:
      change throw mechanism (not save target ep, but save target cfp).
      It fixes `unexpected break' bug that occurs when
      TracePoint#binding is called.
      [ruby-dev:48797] [Bug #10689]
    
    * test/ruby/test_settracefunc.rb: add a test.

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


More information about the ruby-cvs mailing list