[ruby-cvs:58695] normal:r51547 (trunk): iseq.c (iseq_memsize): reimplement for wrapper

normal at ruby-lang.org normal at ruby-lang.org
Wed Aug 12 21:18:53 JST 2015


normal	2015-08-12 21:18:51 +0900 (Wed, 12 Aug 2015)

  New Revision: 51547

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

  Log:
    iseq.c (iseq_memsize): reimplement for wrapper
    
    * iseq.c (iseq_memsize): reimplement for wrapper
      (param_keyword_size): extracted from iseq_memsize
      (iseqw_mark): new mark function
      (iseqw_data_type): new data type
      (iseqw_new): wrap as iseqw_data_type
      (iseqw_check): adjust for wrapper
      (Init_ISeq): remove iseqw_iseq_key initialization
    * test/objspace/test_objspace.rb: new test
      [ruby-core:70344] [Feature #11435]
    
    v2 changes:
    - added RUBY_TYPED_WB_PROTECTED and write barrier
    - account for rb_call_info_kw_arg_t entries

  Modified files:
    trunk/ChangeLog
    trunk/iseq.c
    trunk/test/objspace/test_objspace.rb


More information about the ruby-cvs mailing list