aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator
diff options
context:
space:
mode:
authorKostis Sagonas <[email protected]>2015-12-16 23:09:46 +0100
committerKostis Sagonas <[email protected]>2015-12-16 23:09:46 +0100
commit8970c8c25c45e6a4f92b0652c65e26d890939409 (patch)
tree4ac85626aefd0be67983874bf6cad674c5bad51b /erts/emulator
parent8da78333089d1e28e51a9724f67cac66656e1368 (diff)
downloadotp-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 'erts/emulator')
0 files changed, 0 insertions, 0 deletions