Skip to content
This repository was archived by the owner on Jun 1, 2023. It is now read-only.

Commit e2be1bb

Browse files
author
Reini Urban
committed
optimize pp_subst a bit
1 parent acb0440 commit e2be1bb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pp_hot.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3228,7 +3228,7 @@ PP(pp_subst)
32283228
}
32293229

32303230
/* See "how taint works" above */
3231-
if (TAINTING_get) {
3231+
if (UNLIKELY(TAINTING_get)) {
32323232
if ((rxtainted & SUBST_TAINT_PAT) ||
32333233
((rxtainted & (SUBST_TAINT_STR|SUBST_TAINT_RETAINT)) ==
32343234
(SUBST_TAINT_STR|SUBST_TAINT_RETAINT))

0 commit comments

Comments
 (0)