[ruby-cvs:51010] tmm1:r43866 (trunk): * compile.c: Use rb_fstring() to de-duplicate string literals in code. [ruby-core:58599] [Bug #9159] [ruby-core:54405]

tmm1 at ruby-lang.org tmm1 at ruby-lang.org
Wed Nov 27 08:30:27 JST 2013


tmm1	2013-11-27 08:30:25 +0900 (Wed, 27 Nov 2013)

  New Revision: 43866

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

  Log:
    * compile.c: Use rb_fstring() to de-duplicate string literals in code.  [ruby-core:58599] [Bug #9159] [ruby-core:54405]
    * iseq.c (prepare_iseq_build): De-duplicate iseq labels and source locations.
    * re.c (rb_reg_initialize): Use rb_fstring() for regex string.
    * string.c (rb_fstring): Handle non-string and already-fstr arguments.
    * vm_eval.c (eval_string_with_cref): De-duplicate eval source filename.

  Modified files:
    trunk/ChangeLog
    trunk/compile.c
    trunk/iseq.c
    trunk/re.c
    trunk/string.c
    trunk/vm_eval.c


More information about the ruby-cvs mailing list