diff options
author | Sverker Eriksson <[email protected]> | 2017-11-03 16:17:53 +0100 |
---|---|---|
committer | GitHub <[email protected]> | 2017-11-03 16:17:53 +0100 |
commit | a8264b52677abba29505a8bb597e2aaf6d3258d9 (patch) | |
tree | 64d2ebb3981ad0ead8ee65a8990df09e3718b76c /erts/emulator/hipe/hipe_native_bif.c | |
parent | 3f09864488e77655c9bcb5c70a9b4aead46b3a36 (diff) | |
parent | 5369e34a892bfd8ab5aa98df330e3bbf19497b71 (diff) | |
download | otp-a8264b52677abba29505a8bb597e2aaf6d3258d9.tar.gz otp-a8264b52677abba29505a8bb597e2aaf6d3258d9.tar.bz2 otp-a8264b52677abba29505a8bb597e2aaf6d3258d9.zip |
Merge PR-1607 from sverker/hipe_bin_utf32_bug OTP-14740
Fix hipe bug in binary <<X/utf32>> construction
Diffstat (limited to 'erts/emulator/hipe/hipe_native_bif.c')
-rw-r--r-- | erts/emulator/hipe/hipe_native_bif.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/erts/emulator/hipe/hipe_native_bif.c b/erts/emulator/hipe/hipe_native_bif.c index d8044fe6da..e1c22701d0 100644 --- a/erts/emulator/hipe/hipe_native_bif.c +++ b/erts/emulator/hipe/hipe_native_bif.c @@ -495,6 +495,12 @@ BIF_RETTYPE nbif_impl_hipe_bs_validate_unicode(NBIF_ALIST_1) return NIL; } +Uint hipe_is_unicode(Eterm arg) +{ + return (Uint) validate_unicode(arg); +} + + int hipe_bs_validate_unicode_retract(ErlBinMatchBuffer* mb, Eterm arg) { if (!validate_unicode(arg)) { |