Skip to content

Commit

Permalink
smt expr: mark validity checking as likely to pass
Browse files Browse the repository at this point in the history
  • Loading branch information
nunoplopes committed Dec 16, 2024
1 parent 7482df8 commit 67ab597
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions smt/expr.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,11 @@ using namespace util;

// helpers to check if all input arguments are non-null
#define C(...) \
if (!isValid() || !expr::allValid( __VA_ARGS__)) \
if (!isValid() || !expr::allValid( __VA_ARGS__)) [[unlikely]] \
return {}

#define C2(...) \
if (!expr::allValid(__VA_ARGS__)) \
if (!expr::allValid(__VA_ARGS__)) [[unlikely]] \
return {}


Expand Down

0 comments on commit 67ab597

Please sign in to comment.