diff options
author | TAKAI Kousuke <62541129+t-a-k@users.noreply.github.com> | 2021-10-08 00:51:55 +0900 |
---|---|---|
committer | Tony Cook <tony@develop-help.com> | 2021-12-09 11:05:49 +1100 |
commit | 75122876d2e240d7aafe35db62c52dc639af3437 (patch) | |
tree | 132ee8a5d3d25c539978847bbc9d23568c17ea12 | |
parent | c89cba650a81c8118313ab1b813547628863854d (diff) | |
download | perl-75122876d2e240d7aafe35db62c52dc639af3437.tar.gz |
Replace SvUV_nomg(sv) with SvUVX(sv) in pp_abs.
Under the conditions SvIOK(sv) and SvIsUV(sv), SvUV_nomg(sv) is
equivalent to SvUVX(sv). This change will eliminate unreachable code
and may save a few dozen bytes of code size.
-rw-r--r-- | pp.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -3040,7 +3040,7 @@ PP(pp_abs) else if (SvIOK(sv)) { /* IVX is precise */ if (SvIsUV(sv)) { - SETu(SvUV_nomg(sv)); /* force it to be numeric only */ + SETu(SvUVX(sv)); /* force it to be numeric only */ } else { if (iv >= 0) { SETi(iv); |