summaryrefslogtreecommitdiff
path: root/src/util/cvc4_assert.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/util/cvc4_assert.cpp')
-rw-r--r--src/util/cvc4_assert.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util/cvc4_assert.cpp b/src/util/cvc4_assert.cpp
index eb7b81a39..08e2867f6 100644
--- a/src/util/cvc4_assert.cpp
+++ b/src/util/cvc4_assert.cpp
@@ -136,7 +136,7 @@ void debugAssertionFailed(const AssertionException& thisException,
const char* propagatingException) {
static CVC4_THREADLOCAL(bool) alreadyFired = false;
- if(EXPECT_TRUE( !std::uncaught_exception() ) || alreadyFired) {
+ if(__builtin_expect( ( !std::uncaught_exception() ), true ) || alreadyFired) {
throw thisException;
}
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback