mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-10 21:23:58 +01:00
Explain a bit more about branch prediction in the unit-test case
This commit is contained in:
parent
bb465be085
commit
5e582c7ffa
@ -38,6 +38,10 @@
|
||||
* and then passed right to a conditional. If you do anything else to the
|
||||
* expression here, or introduce any more parentheses, the compiler won't
|
||||
* help you.
|
||||
*
|
||||
* We only do this for the unit-test build case because it interferes with
|
||||
* the likely-branch labeling. Note below that in the other case, we define
|
||||
* these macros to just be synonyms for PREDICT_(UN)LIKELY.
|
||||
*/
|
||||
#define ASSERT_PREDICT_UNLIKELY_(e) \
|
||||
({ \
|
||||
|
Loading…
Reference in New Issue
Block a user