aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrey A. Chernov <ache@FreeBSD.org>2007-11-01 03:18:02 +0000
committerAndrey A. Chernov <ache@FreeBSD.org>2007-11-01 03:18:02 +0000
commit70e7b0732ae922553e5893967fb0e6d54626ada0 (patch)
treecfd66a2c9942d61cde516aa92b5265cbce1c4361
parent8931e1d50ec17f666bdbbb3d86d29124d6b21a22 (diff)
downloadsrc-70e7b0732ae922553e5893967fb0e6d54626ada0.tar.gz
src-70e7b0732ae922553e5893967fb0e6d54626ada0.zip
Back out not human readable optimization in prev. commit which shown
to generate 3bytes longer opcode.
Notes
Notes: svn path=/head/; revision=173244
-rw-r--r--include/_ctype.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/_ctype.h b/include/_ctype.h
index 7600c4b5b6bc..0076adc7b624 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);
}