Skip to content

Commit f430550

Browse files
committed
Forgot a use of GWP_ASAN_LIKELY
1 parent 2797d5f commit f430550

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler-rt/lib/gwp_asan/utilities.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ GWP_ASAN_ALWAYS_INLINE void Check(bool Condition, const char *Message) {
3030
// errno at the end).
3131
GWP_ASAN_ALWAYS_INLINE void
3232
checkWithErrorCode(bool Condition, const char *Message, int64_t ErrorCode) {
33-
if (Condition)
33+
if (GWP_ASAN_LIKELY(Condition))
3434
return;
3535
dieWithErrorCode(Message, ErrorCode);
3636
}

0 commit comments

Comments
 (0)