[ruby-cvs:58997] ko1:r51846 (trunk): * vm_insnhelper.c (vm_call_iseq_setup_normal): do not clear local

ko1 at ruby-lang.org ko1 at ruby-lang.org
Sun Sep 13 03:47:45 JST 2015


ko1	2015-09-13 03:47:43 +0900 (Sun, 13 Sep 2015)

  New Revision: 51846

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

  Log:
    * vm_insnhelper.c (vm_call_iseq_setup_normal): do not clear local
      variables here. vm_push_frame() clears.
    * vm_insnhelper.c (vm_call_iseq_setup_tailcall): ditto.
    * vm_insnhelper.c (vm_push_frame): move check code to
      vm_check_frame().
      Reorder initialization timing to reuse same values (sp).
    * compile.c (rb_iseq_compile_node): use
      iseq_set_exception_local_table() for ISEQ_TYPE_DEFINED_GUARD.

  Modified files:
    trunk/ChangeLog
    trunk/compile.c
    trunk/vm_insnhelper.c


More information about the ruby-cvs mailing list