[ruby-cvs:49779] ko1:r42637 (trunk): * insns.def: fix regexp's once option behavior.

ko1 at ruby-lang.org ko1 at ruby-lang.org
Wed Aug 21 02:41:13 JST 2013


ko1	2013-08-21 02:41:13 +0900 (Wed, 21 Aug 2013)

  New Revision: 42637

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

  Log:
    * insns.def: fix regexp's once option behavior.
      fix [ruby-trunk - Bug #6701]
    * insns.def: remove `onceinlinecache' and introduce `once' instruction.
      `once' doesn't use `setinlinecache' insn any more.
    * vm_core.h: `union iseq_inline_storage_entry' to store once data.
    * compile.c: catch up above changes.
    * iseq.c: ditto.
    * vm.c, vm_insnhelper.c: ditto. fix `m_core_set_postexe()' which
      is depend on `onceinlinecache' insn.
    * test/ruby/test_regexp.rb: add tests.
    * iseq.c: ISEQ_MINOR_VERSION to 1 (should increment major?)

  Modified files:
    trunk/ChangeLog
    trunk/compile.c
    trunk/insns.def
    trunk/iseq.c
    trunk/test/ruby/test_regexp.rb
    trunk/vm.c
    trunk/vm_core.h
    trunk/vm_insnhelper.c


More information about the ruby-cvs mailing list