[ruby-cvs:58685] normal:r51537 (trunk): rb_parser_compile_*: remove volatile arg

normal at ruby-lang.org normal at ruby-lang.org
Wed Aug 12 05:35:14 JST 2015


normal	2015-08-12 05:35:12 +0900 (Wed, 12 Aug 2015)

  New Revision: 51537

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

  Log:
    rb_parser_compile_*: remove volatile arg
    
    RB_GC_GUARD is sufficient to prevent tail call optimization from
    making the object invisible from GC., and we don't need to
    encourage more volatile usage.
    
    * parse.y (rb_parser_compile_cstr): remove volatile arg
      (rb_parser_compile_string): ditto
      (rb_parser_compile_file): ditto
      (rb_parser_compile_string_path): ditto
      (rb_parser_compile_file_path): ditto
      [ruby-core:70323] [Misc #11431]

  Modified files:
    trunk/ChangeLog
    trunk/node.h
    trunk/parse.y


More information about the ruby-cvs mailing list