[ruby-cvs:51680] ko1:r44535 (trunk): * vm.c (rb_vm_pop_cfunc_frame): added. It cares c_return event.

ko1 at ruby-lang.org ko1 at ruby-lang.org
Thu Jan 9 19:13:01 JST 2014


ko1	2014-01-09 19:12:59 +0900 (Thu, 09 Jan 2014)

  New Revision: 44535

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

  Log:
    * vm.c (rb_vm_pop_cfunc_frame): added.  It cares c_return event.
      The patch base by drkaes (Stefan Kaes).
      [Bug #9321]
    * variable.c (rb_mod_const_missing): use rb_vm_pop_cfunc_frame()
      instead of rb_frame_pop().
    * vm_eval.c (raise_method_missing): ditto.
    * vm_eval.c (rb_iterate): ditto.
    * internal.h (rb_vm_pop_cfunc_frame): add decl.
    * test/ruby/test_settracefunc.rb: add tests.
      provided by drkaes (Stefan Kaes).
    * vm.c, eval.c, include/ruby/intern.h (rb_frame_pop):
      move definition of rb_frame_pop() and deprecate it.
      It doesn't care about `return' events.

  Modified files:
    trunk/ChangeLog
    trunk/eval.c
    trunk/include/ruby/intern.h
    trunk/internal.h
    trunk/test/ruby/test_settracefunc.rb
    trunk/variable.c
    trunk/vm.c
    trunk/vm_eval.c


More information about the ruby-cvs mailing list