summaryrefslogtreecommitdiffstats
path: root/include/_ctype.h
diff options
context:
space:
mode:
authorache <ache@FreeBSD.org>2007-11-01 03:18:02 +0000
committerache <ache@FreeBSD.org>2007-11-01 03:18:02 +0000
commit45e2b52e41bb441553f783ccbfb5bb7693a64c45 (patch)
treecfd66a2c9942d61cde516aa92b5265cbce1c4361 /include/_ctype.h
parentc98af9169a353136e92c358af90871604e3ac4dc (diff)
downloadFreeBSD-src-45e2b52e41bb441553f783ccbfb5bb7693a64c45.zip
FreeBSD-src-45e2b52e41bb441553f783ccbfb5bb7693a64c45.tar.gz
Back out not human readable optimization in prev. commit which shown
to generate 3bytes longer opcode.
Diffstat (limited to 'include/_ctype.h')
-rw-r--r--include/_ctype.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/_ctype.h b/include/_ctype.h
index 7600c4b..0076adc 100644
--- a/include/_ctype.h
+++ b/include/_ctype.h
@@ -126,7 +126,7 @@ __sbistype(__ct_rune_t _c, unsigned long _f)
static __inline int
__isctype(__ct_rune_t _c, unsigned long _f)
{
- return (_c & ~0x7F) ? 0 :
+ return (_c < 0 || _c >= 128) ? 0 :
!!(_DefaultRuneLocale.__runetype[_c] & _f);
}
OpenPOWER on IntegriCloud