diff options
author | Sverker Eriksson <[email protected]> | 2017-11-06 18:45:13 +0100 |
---|---|---|
committer | Sverker Eriksson <[email protected]> | 2017-11-06 18:45:13 +0100 |
commit | 54fd69c2887d1a76cae3bf43e31e611dbcf152fa (patch) | |
tree | b10c5118dea7ba649aa1d7014e50583e552669bf /erts/emulator/hipe/hipe_native_bif.c | |
parent | 7cd0a910a3d171840991092e335e9a5b2aeee74e (diff) | |
download | otp-54fd69c2887d1a76cae3bf43e31e611dbcf152fa.tar.gz otp-54fd69c2887d1a76cae3bf43e31e611dbcf152fa.tar.bz2 otp-54fd69c2887d1a76cae3bf43e31e611dbcf152fa.zip |
erts: Remove obsolete hipe primop bs_validate_unicode
which was replaced by 'is_unicode' in 5369e34a892bfd8ab5aa98df330e3bbf19497b71
but kept for ABI compatibility in OTP-20.*.
Diffstat (limited to 'erts/emulator/hipe/hipe_native_bif.c')
-rw-r--r-- | erts/emulator/hipe/hipe_native_bif.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/erts/emulator/hipe/hipe_native_bif.c b/erts/emulator/hipe/hipe_native_bif.c index 4d20fbdb90..f5471285c2 100644 --- a/erts/emulator/hipe/hipe_native_bif.c +++ b/erts/emulator/hipe/hipe_native_bif.c @@ -482,15 +482,6 @@ static int validate_unicode(Eterm arg) return 1; } -BIF_RETTYPE nbif_impl_hipe_bs_validate_unicode(NBIF_ALIST_1) -{ - Process *p = BIF_P; - Eterm arg = BIF_ARG_1; - if (!validate_unicode(arg)) - BIF_ERROR(p, BADARG); - return NIL; -} - Uint hipe_is_unicode(Eterm arg) { return (Uint) validate_unicode(arg); |