aboutsummaryrefslogtreecommitdiffstats
path: root/make
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2016-05-11 13:22:11 +0200
committerBjörn Gustavsson <[email protected]>2016-05-13 10:52:25 +0200
commit8fa837e84dbeeb01d9dd4525719558b4909bd2b1 (patch)
treefc86d0f28dee600e4c82c96e11aa8ba41a982f9b /make
parent3701f7078627d6a4daab3049f09036c4e410d5fb (diff)
downloadotp-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 'make')
0 files changed, 0 insertions, 0 deletions