aboutsummaryrefslogtreecommitdiffstats
path: root/erts/lib
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2017-08-25 10:15:25 +0200
committerBjörn Gustavsson <[email protected]>2017-08-31 15:45:31 +0200
commit53e841b4e09f2c715fe459a1e4a84e4de5c161fa (patch)
tree60d10d6ee3bbae7ab1bdb7ff4ea956a97f0f6bfc /erts/lib
parent3280aa8f8398b2b6a1bb78aedc27fc7e73653288 (diff)
downloadotp-53e841b4e09f2c715fe459a1e4a84e4de5c161fa.tar.gz
otp-53e841b4e09f2c715fe459a1e4a84e4de5c161fa.tar.bz2
otp-53e841b4e09f2c715fe459a1e4a84e4de5c161fa.zip
Add annotations for likely/unlikely
In a correct Erlang programs, we can expect that: * A GC test instruction (such as test_heap) is more likely not to do the GC. * A BIF is more likely to succeed than to fail. * A BIF is more likely to fail in a guard than in a body. * An apply or fun call is likely to succeed. Annotate conditions accordingly.
Diffstat (limited to 'erts/lib')
0 files changed, 0 insertions, 0 deletions