diff options
author | Kostis Sagonas <[email protected]> | 2015-12-16 23:09:46 +0100 |
---|---|---|
committer | Kostis Sagonas <[email protected]> | 2015-12-16 23:09:46 +0100 |
commit | 8970c8c25c45e6a4f92b0652c65e26d890939409 (patch) | |
tree | 4ac85626aefd0be67983874bf6cad674c5bad51b /system/doc/tutorial/complex4.erl | |
parent | 8da78333089d1e28e51a9724f67cac66656e1368 (diff) | |
download | otp-8970c8c25c45e6a4f92b0652c65e26d890939409.tar.gz otp-8970c8c25c45e6a4f92b0652c65e26d890939409.tar.bz2 otp-8970c8c25c45e6a4f92b0652c65e26d890939409.zip |
Fix compilation of matching with UTF binaries
The code generated by the HiPE compiler for pattern matching with
UTF binaries was such that sometimes THE_NON_VALUE was stored in
the roots followed by the garbage collector. This was not an issue
for the vanilla native code compiler, but was problematic for the
ErLLVM back-end.
Fix the issue by not storing THE_NON_VALUE in the live roots. An
alternative fix would be to change the code of the garbage collector.
With this fix, there are no more (known) failing test cases for the
ErLLVM back-end (at least on x86_64 with LLVM 3.5, which is the
configuation regularly tested). Thanks to @margnus1 for the fix.
Diffstat (limited to 'system/doc/tutorial/complex4.erl')
0 files changed, 0 insertions, 0 deletions