/*++
Copyright (c) 2006 Microsoft Corporation

Module Name:

    bv_simplifier_params.cpp

Abstract:

    <abstract>

Author:

    Leonardo de Moura (leonardo) 2012-12-02.

Revision History:

--*/
#include "ast/simplifier/bv_simplifier_params.h"
#include "ast/simplifier/bv_simplifier_params_helper.hpp"
#include "ast/rewriter/bv_rewriter_params.hpp"

void bv_simplifier_params::updt_params(params_ref const & _p) {
    bv_simplifier_params_helper p(_p);
    bv_rewriter_params rp(_p);
    m_hi_div0 = rp.hi_div0();
    m_bv2int_distribute = p.bv_bv2int_distribute();

}

#define DISPLAY_PARAM(X) out << #X"=" << X << std::endl;

void bv_simplifier_params::display(std::ostream & out) const {
    DISPLAY_PARAM(m_hi_div0);
    DISPLAY_PARAM(m_bv2int_distribute);
}