[ruby-cvs:53609] ko1:r46463 (trunk): * vm_core.h: add VM_FRAME_MAGIC_RESCUE to recognize normal block or

ko1 at ruby-lang.org ko1 at ruby-lang.org
Thu Jun 19 18:17:24 JST 2014


ko1	2014-06-19 18:17:21 +0900 (Thu, 19 Jun 2014)

  New Revision: 46463

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

  Log:
    * vm_core.h: add VM_FRAME_MAGIC_RESCUE to recognize normal block or
      rescue clause.
    * vm.c (vm_exec): use VM_FRAME_MAGIC_RESCUE on at rescue/ensure.
    * test/ruby/test_settracefunc.rb: should not invoke b_return at rescue
      clause.
      [Bug #9957]
    * vm_dump.c (control_frame_dump): check VM_FRAME_MAGIC_RESCUE.
    * vm_dump.c (vm_stack_dump_each): ditto.

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


More information about the ruby-cvs mailing list