/*++ Copyright (c) 2012 Microsoft Corporation Module Name: theory_bv_params.cpp Abstract: Author: Leonardo de Moura (leonardo) 2012-12-02. Revision History: --*/ #include "smt/params/theory_bv_params.h" #include "smt/params/smt_params_helper.hpp" #include "ast/rewriter/bv_rewriter_params.hpp" void theory_bv_params::updt_params(params_ref const & _p) { smt_params_helper p(_p); bv_rewriter_params rp(_p); m_hi_div0 = rp.hi_div0(); m_bv_reflect = p.bv_reflect(); m_bv_enable_int2bv2int = p.bv_enable_int2bv(); } #define DISPLAY_PARAM(X) out << #X"=" << X << std::endl; void theory_bv_params::display(std::ostream & out) const { DISPLAY_PARAM(m_bv_mode); DISPLAY_PARAM(m_hi_div0); DISPLAY_PARAM(m_bv_reflect); DISPLAY_PARAM(m_bv_lazy_le); DISPLAY_PARAM(m_bv_cc); DISPLAY_PARAM(m_bv_blast_max_size); DISPLAY_PARAM(m_bv_enable_int2bv2int); }