Project

General

Profile

« Previous | Next » 

Revision e52da919

Added by nobu (Nobuyoshi Nakada) over 16 years ago

  • compile.c (compile_array_, defined_expr, iseq_compile_each): hide
    and freeze internal literal objects, to prevent from modifying.
    [ruby-dev:37959]

  • iseq.c (insn_operand_intern): copy internal literal objects.

  • insns.def (putstring, duparray): ditto.

  • string.c (rb_str_replace): exported.

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