diff options
Diffstat (limited to 'src/util/debug.h')
-rw-r--r-- | src/util/debug.h | 37 |
1 files changed, 0 insertions, 37 deletions
diff --git a/src/util/debug.h b/src/util/debug.h deleted file mode 100644 index e25ca8168..000000000 --- a/src/util/debug.h +++ /dev/null @@ -1,37 +0,0 @@ -/********************* */ -/*! \file debug.h - ** \verbatim - ** Top contributors (to current version): - ** Morgan Deters - ** This file is part of the CVC4 project. - ** Copyright (c) 2009-2019 by the authors listed in the file AUTHORS - ** in the top-level source directory) and their institutional affiliations. - ** All rights reserved. See the file COPYING in the top-level source - ** directory for licensing information.\endverbatim - ** - ** \brief Debugging things. - ** - ** Debugging things. - ** - ** These are low-level assertions! Generally you should use - ** CVC4::Assert() instead (they throw an exception!). See - ** util/Assert.h. - **/ - -#include "cvc4_private.h" - -#ifndef CVC4__DEBUG_H -#define CVC4__DEBUG_H - -#include <cassert> - -#ifdef CVC4_ASSERTIONS -// the __builtin_expect() helps us if assert is built-in or a macro -# define cvc4assert(x) assert(__builtin_expect( ( x ), true )) -#else -// TODO: use a compiler annotation when assertions are off ? -// (to improve optimization) -# define cvc4assert(x) /*__builtin_expect( ( x ), true )*/ -#endif /* CVC4_ASSERTIONS */ - -#endif /* CVC4__DEBUG_H */ |