aboutsummaryrefslogtreecommitdiffstats
path: root/lib/stdlib/examples
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2016-10-12 08:00:22 +0200
committerBjörn Gustavsson <[email protected]>2016-11-18 11:58:35 +0100
commit09f170e35cf9df8438ae42d48b51becff167b5b4 (patch)
tree08626e91dfb969e20b815225717f8b5adeabd4d9 /lib/stdlib/examples
parent4c76ea1116faa3efd797c39539131b9262b6fa36 (diff)
downloadotp-09f170e35cf9df8438ae42d48b51becff167b5b4.tar.gz
otp-09f170e35cf9df8438ae42d48b51becff167b5b4.tar.bz2
otp-09f170e35cf9df8438ae42d48b51becff167b5b4.zip
compile_SUITE: Make sure that guards are optimized
Guards should use the more efficient 'test' instructions, not 'bif' instructions. Add a test to make sure that the optimizations don't degrade. We do have to keep an exception list for functions where we can't replace all 'bif' calls with 'test' instructions. We try to keep that list a short as practically possible.
Diffstat (limited to 'lib/stdlib/examples')
0 files changed, 0 insertions, 0 deletions