3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-08-24 12:07:52 +00:00

Changed references to _DEBUG to Z3DEBUG.

(gcc does not define _DEBUG for debug builds.)

Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
This commit is contained in:
Christoph M. Wintersteiger 2013-11-08 19:21:55 +00:00
parent 412f912c46
commit 86f39cd4c1
4 changed files with 15 additions and 15 deletions

View file

@ -140,7 +140,7 @@ void fpa2bv_converter::mk_const(func_decl * f, expr_ref & result) {
s_sig = m_bv_util.mk_sort(sbits-1);
s_exp = m_bv_util.mk_sort(ebits);
#ifdef _DEBUG
#ifdef Z3DEBUG
std::string p("fpa2bv");
std::string name = f->get_name().str();
@ -271,7 +271,7 @@ void fpa2bv_converter::mk_rm_const(func_decl * f, expr_ref & result) {
SASSERT(is_rm_sort(f->get_range()));
result = m.mk_fresh_const(
#ifdef _DEBUG
#ifdef Z3DEBUG
"fpa2bv_rm"
#else
0
@ -2345,7 +2345,7 @@ void fpa2bv_converter::mk_rounding_mode(func_decl * f, expr_ref & result)
}
void fpa2bv_converter::dbg_decouple(const char * prefix, expr_ref & e) {
#ifdef _DEBUG
#ifdef Z3DEBUG
return;
// CMW: This works only for quantifier-free formulas.
expr_ref new_e(m);