diff options
author | Björn Gustavsson <[email protected]> | 2016-10-12 08:00:22 +0200 |
---|---|---|
committer | Björn Gustavsson <[email protected]> | 2016-11-18 11:58:35 +0100 |
commit | 09f170e35cf9df8438ae42d48b51becff167b5b4 (patch) | |
tree | 08626e91dfb969e20b815225717f8b5adeabd4d9 /lib/jinterface/test/jinterface_SUITE.erl | |
parent | 4c76ea1116faa3efd797c39539131b9262b6fa36 (diff) | |
download | otp-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/jinterface/test/jinterface_SUITE.erl')
0 files changed, 0 insertions, 0 deletions