diff options
author | Jarkko Hietaniemi <jhi@iki.fi> | 2001-08-12 23:05:14 +0000 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2001-08-12 23:05:14 +0000 |
commit | 68de02dd13dd306ab38a3120f53d4d0e47862ec5 (patch) | |
tree | 46217c58189629fd8eff204a9ac1b5899864f55d /doop.c | |
parent | 459f542a02bfa50fe969c7ba187cb998bf548dab (diff) | |
download | perl-68de02dd13dd306ab38a3120f53d4d0e47862ec5.tar.gz |
Unnecessary downgrades.
p4raw-id: //depot/perl@11655
Diffstat (limited to 'doop.c')
-rw-r--r-- | doop.c | 5 |
1 files changed, 0 insertions, 5 deletions
@@ -386,9 +386,6 @@ S_do_trans_simple_utf8(pTHX_ SV *sv)/* SPC - OK */ } SvSETMAGIC(sv); SvUTF8_on(sv); - /* Downgrading just 'cos it will is suspect - NI-S */ - if (!isutf8 && !(PL_hints & HINT_UTF8)) - sv_utf8_downgrade(sv, TRUE); return matches; } @@ -590,8 +587,6 @@ S_do_trans_complex_utf8(pTHX_ SV *sv) /* SPC - NOT OK */ SvCUR_set(sv, d - dstart); } SvUTF8_on(sv); - if (!isutf8 && !(PL_hints & HINT_UTF8)) - sv_utf8_downgrade(sv, TRUE); SvSETMAGIC(sv); return matches; |