diff options
| author | normal <normal@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-03-10 20:09:06 +0000 |
|---|---|---|
| committer | normal <normal@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-03-10 20:09:06 +0000 |
| commit | 568f8adfc884d1897eca56c8b6c0ec0018cf3816 (patch) | |
| tree | 1a9fea1c18286ad0a8689df70a75825a0961dcc8 /include/ruby/version.h | |
| parent | c51de81d8edb78de83cb0645830153f448349d8d (diff) | |
compile.c: apply opt_str_freeze to String#-@ (uminus)
The same optimization used for "literal string".freeze
can easily apply to uminus without introducing any
compatibility problems.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57828 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'include/ruby/version.h')
0 files changed, 0 insertions, 0 deletions
