diff options
author | Björn Gustavsson <[email protected]> | 2016-05-11 13:22:11 +0200 |
---|---|---|
committer | Björn Gustavsson <[email protected]> | 2016-05-13 10:52:25 +0200 |
commit | 8fa837e84dbeeb01d9dd4525719558b4909bd2b1 (patch) | |
tree | fc86d0f28dee600e4c82c96e11aa8ba41a982f9b /lib/compiler/test/beam_block_SUITE.erl | |
parent | 3701f7078627d6a4daab3049f09036c4e410d5fb (diff) | |
download | otp-8fa837e84dbeeb01d9dd4525719558b4909bd2b1.tar.gz otp-8fa837e84dbeeb01d9dd4525719558b4909bd2b1.tar.bz2 otp-8fa837e84dbeeb01d9dd4525719558b4909bd2b1.zip |
beam_utils: Simplify the return value for check_liveness/3
check_liveness/3 returns {unknown,State} if an instruction is
not handled. All callers will handle 'unknown' the same way as
'used'. Therefore, we can simplify the code and improve the
coverage if we return {used,State} instead of {unknown,State}.
Diffstat (limited to 'lib/compiler/test/beam_block_SUITE.erl')
0 files changed, 0 insertions, 0 deletions