Skip to content

Commit

Permalink
Fixing performance regression
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomas Heller committed May 30, 2017
1 parent 59b11ef commit 6913ff6
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions hpx/util/assert.hpp
Expand Up @@ -29,13 +29,7 @@

#if defined(HPX_DISABLE_ASSERTS) || defined(BOOST_DISABLE_ASSERTS) || defined(NDEBUG)

#if defined(HPX_GCC_VERSION) || defined(HPX_CLANG_VERSION)
# define HPX_ASSERT(expr) ((expr) ? (void)0 : __builtin_unreachable())
#elif defined(HPX_MSVC) && !defined(HPX_INTEL_WIN)
# define HPX_ASSERT(expr) __assume(!!(expr))
#else
# define HPX_ASSERT(expr) ((void)0)
#endif

#elif defined(HPX_ENABLE_ASSERT_HANDLER) || defined(BOOST_ENABLE_ASSERT_HANDLER)

Expand Down

0 comments on commit 6913ff6

Please sign in to comment.