diff options
author | Björn Gustavsson <[email protected]> | 2017-08-25 10:15:25 +0200 |
---|---|---|
committer | Björn Gustavsson <[email protected]> | 2017-08-31 15:45:31 +0200 |
commit | 53e841b4e09f2c715fe459a1e4a84e4de5c161fa (patch) | |
tree | 60d10d6ee3bbae7ab1bdb7ff4ea956a97f0f6bfc /lib/ssh | |
parent | 3280aa8f8398b2b6a1bb78aedc27fc7e73653288 (diff) | |
download | otp-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 'lib/ssh')
0 files changed, 0 insertions, 0 deletions