mirror of
https://github.com/Z3Prover/z3
synced 2025-05-01 12:55:52 +00:00
compiler warnings
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
00d35c2777
commit
8dde1bf86d
3 changed files with 11 additions and 9 deletions
|
@ -386,12 +386,6 @@ namespace {
|
|||
//
|
||||
// ------------------------------------
|
||||
|
||||
inline enode * get_enode(context & ctx, app * n) {
|
||||
SASSERT(ctx.e_internalized(n));
|
||||
enode * e = ctx.get_enode(n);
|
||||
SASSERT(e);
|
||||
return e;
|
||||
}
|
||||
inline enode * mk_enode(context & ctx, quantifier * qa, app * n) {
|
||||
ctx.internalize(n, false, ctx.get_generation(qa));
|
||||
enode * e = ctx.get_enode(n);
|
||||
|
@ -446,6 +440,13 @@ namespace {
|
|||
}
|
||||
|
||||
#ifdef Z3DEBUG
|
||||
inline enode * get_enode(context & ctx, app * n) const {
|
||||
SASSERT(ctx.e_internalized(n));
|
||||
enode * e = ctx.get_enode(n);
|
||||
SASSERT(e);
|
||||
return e;
|
||||
}
|
||||
|
||||
void display_label_hashes_core(std::ostream & out, app * p) const {
|
||||
if (p->is_ground()) {
|
||||
enode * e = get_enode(*m_context, p);
|
||||
|
@ -587,7 +588,7 @@ namespace {
|
|||
}
|
||||
};
|
||||
|
||||
inline std::ostream & operator<<(std::ostream & out, code_tree const & tree) {
|
||||
std::ostream & operator<<(std::ostream & out, code_tree const & tree) {
|
||||
tree.display(out);
|
||||
return out;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue