[ruby-cvs:68752] ko1:r61571 (trunk): check an existence of block.

ko1 at ruby-lang.org ko1 at ruby-lang.org
Wed Jan 3 00:29:58 JST 2018

ko1	2018-01-03 00:29:58 +0900 (Wed, 03 Jan 2018)

  New Revision: 61571


    check an existence of block.
    * gc.c (rb_raw_obj_info): check block before using it.
    * vm_core.h (vm_block_iseq): r61565 introduced NULL check but this
      check is only needed by `rb_raw_obj_info()` and it is called at GC
      debug mode. Above fix for `rb_raw_obj_info()` solves this problem and
      NULL check should not be needed any more.

  Modified files:

More information about the ruby-cvs mailing list