[ruby-cvs:53611] ko1:r46465 (trunk): * vm.c (rb_vm_rewind_cfp): add new function to rewind specified cfp

ko1 at ruby-lang.org ko1 at ruby-lang.org
Thu Jun 19 21:43:50 JST 2014


ko1	2014-06-19 21:43:48 +0900 (Thu, 19 Jun 2014)

  New Revision: 46465

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

  Log:
    * vm.c (rb_vm_rewind_cfp): add new function to rewind specified cfp
      with invoking RUBY_EVENT_C_RETURN.
      [Bug #9961]
    * vm_core.h: ditto.
    * eval.c (rb_protect): use it.
    * eval.c (rb_rescue2): ditto.
    * vm_eval.c (rb_iterate): ditto.
    * test/ruby/test_settracefunc.rb: add a test.
    * vm_core.h (rb_name_err_mesg_new):

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


More information about the ruby-cvs mailing list