Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
PR timescale#6648 introduces a branch prediction in the Ensure macro. However, the checked condition needs to be negated to be unlikely. Therefore, the check predicts the branch likelihood wrongly. In other words, reporting an error in Ensure should be the unlikely case, and the condition should be fulfilled in most calls. This commit fixes the branch prediction.
- Loading branch information