Project

General

Profile

« Previous | Next » 

Revision 2c80c949

Added by normal over 8 years ago

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]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51537 b2dd03c8-39d4-4d8f-98ff-823fe69b080e