summaryrefslogtreecommitdiff
path: root/pp.c
diff options
context:
space:
mode:
authorKarl Williamson <khw@cpan.org>2019-02-01 11:41:14 -0700
committerKarl Williamson <khw@cpan.org>2019-02-04 21:00:50 -0700
commit02601e33951e916a19e46272146a0b59862aaff5 (patch)
tree1d394feead99773fdd07af9b5160bdee20c7f9ad /pp.c
parent2f8f985a27faf25c5a535cbe67d098690668c0f9 (diff)
downloadperl-02601e33951e916a19e46272146a0b59862aaff5.tar.gz
pp.c: Add branch prediction hint
This conditional is very rarely true
Diffstat (limited to 'pp.c')
-rw-r--r--pp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pp.c b/pp.c
index 533dcc196c..9e4c3b242a 100644
--- a/pp.c
+++ b/pp.c
@@ -4039,7 +4039,7 @@ PP(pp_uc)
STRLEN u;
STRLEN ulen;
UV uv;
- if (in_iota_subscript && ! _is_utf8_mark(s)) {
+ if (UNLIKELY(in_iota_subscript) && ! _is_utf8_mark(s)) {
/* A non-mark. Time to output the iota subscript */
*d++ = UTF8_TWO_BYTE_HI(GREEK_CAPITAL_LETTER_IOTA);