Skip to content

Commit dc446e5

Browse files
committed
S_fold_constants - SvIOKp -> SvIOK (TO SQUASH BEFORE MERGE)
1 parent 8fa7f8e commit dc446e5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

op.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5022,7 +5022,7 @@ S_fold_constants(pTHX_ OP *const o)
50225022
SV *constsv = cSVOPx_sv(cBINOPo->op_last);
50235023
UV arbitrary = 1024 * 1024;
50245024

5025-
if (SvIOKp(constsv)) {
5025+
if (SvIOK(constsv)) {
50265026
if (SvIOK_UV(constsv)) {
50275027
if (SvUVX(constsv) > SIZE_MAX >> 2)
50285028
ck_warner(packWARN(WARN_MISC), "Unrealistically large string repetition value");

0 commit comments

Comments
 (0)