[ruby-cvs:57085] ko1:r49936 (trunk): * vm_insnhelper.h: use T_IMEMO to create THROW_DATA.

ko1 at ruby-lang.org ko1 at ruby-lang.org
Wed Mar 11 21:49:29 JST 2015


ko1	2015-03-11 21:49:27 +0900 (Wed, 11 Mar 2015)

  New Revision: 49936

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

  Log:
    * vm_insnhelper.h: use T_IMEMO to create THROW_DATA.
      Add THROW_DATA_NEW().
    * internal.h: move defnition of `struct THROW_DATA'
      from vm_insnhelper.h to internal.h.
      Rename `THROW_DATA' to `vm_throw_data'.
    * eval_intern.h (THROW_DATA_P): move to internal.h.
      THROW_DATA is no longer T_NODE, so check T_IMEMO.
    * gc.c (gc_mark_children): mark THROW_DATA.
    * vm.c: catch up these changes.
    * vm_eval.c: ditto.
    * vm_insnhelper.c: ditto.

  Modified files:
    trunk/ChangeLog
    trunk/eval_intern.h
    trunk/gc.c
    trunk/internal.h
    trunk/vm.c
    trunk/vm_eval.c
    trunk/vm_insnhelper.c
    trunk/vm_insnhelper.h


More information about the ruby-cvs mailing list