aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator
diff options
context:
space:
mode:
authorLukas Larsson <[email protected]>2013-02-18 17:26:19 +0100
committerLukas Larsson <[email protected]>2013-02-18 17:26:19 +0100
commit70893a35ab7d11f574059666df9a7b46f70c9311 (patch)
tree88df1930647bac075363e3cc632d686d1ef880ad /erts/emulator
parent710cd8efa09ecb62af06f61402683bf2a13481fc (diff)
downloadotp-70893a35ab7d11f574059666df9a7b46f70c9311.tar.gz
otp-70893a35ab7d11f574059666df9a7b46f70c9311.tar.bz2
otp-70893a35ab7d11f574059666df9a7b46f70c9311.zip
noncharacter code points are allowed
Diffstat (limited to 'erts/emulator')
-rw-r--r--erts/emulator/hipe/hipe_native_bif.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/erts/emulator/hipe/hipe_native_bif.c b/erts/emulator/hipe/hipe_native_bif.c
index 3be821f8f7..af1c36777f 100644
--- a/erts/emulator/hipe/hipe_native_bif.c
+++ b/erts/emulator/hipe/hipe_native_bif.c
@@ -503,9 +503,7 @@ static int validate_unicode(Eterm arg)
{
if (is_not_small(arg) ||
arg > make_small(0x10FFFFUL) ||
- (make_small(0xD800UL) <= arg && arg <= make_small(0xDFFFUL)) ||
- arg == make_small(0xFFFEUL) ||
- arg == make_small(0xFFFFUL))
+ (make_small(0xD800UL) <= arg && arg <= make_small(0xDFFFUL)))
return 0;
return 1;
}