Rename builtin operator if-then-else
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
This commit is contained in:
parent
51280864cf
commit
cdccca9316
1 changed files with 2 additions and 2 deletions
|
@ -128,7 +128,7 @@ bool is_false(expr const & e) {
|
||||||
|
|
||||||
// =======================================
|
// =======================================
|
||||||
// If-then-else builtin operator
|
// If-then-else builtin operator
|
||||||
static name g_ite_name = name{"builtin", "if"};
|
static name g_ite_name("ite");
|
||||||
static format g_ite_fmt(g_ite_name);
|
static format g_ite_fmt(g_ite_name);
|
||||||
class ite_fn_value : public value {
|
class ite_fn_value : public value {
|
||||||
expr m_type;
|
expr m_type;
|
||||||
|
@ -161,7 +161,7 @@ public:
|
||||||
virtual format pp() const { return g_ite_fmt; }
|
virtual format pp() const { return g_ite_fmt; }
|
||||||
virtual unsigned hash() const { return 27; }
|
virtual unsigned hash() const { return 27; }
|
||||||
};
|
};
|
||||||
char const * ite_fn_value::g_kind = "builtin::if";
|
char const * ite_fn_value::g_kind = "ite";
|
||||||
MK_BUILTIN(ite_fn, ite_fn_value);
|
MK_BUILTIN(ite_fn, ite_fn_value);
|
||||||
// =======================================
|
// =======================================
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue